Find Jobs
Hire Freelancers

Visual Basic for Excel 2007

$30-250 USD

In Progress
Posted almost 14 years ago

$30-250 USD

Paid on delivery
I have VB codes to generate a few pivot tables in Excel. My company has just switched from Excel 2003 to 2007. [login to view URL] function does not work in 2007. I need someone to fix the VB codes. The enclosed example shows where the problem is. Thank you. Function reportFileExist() As Boolean Dim FS As [login to view URL] Dim DR As String Dim path As String Dim vaFilename As Variant Dim icount As Long Dim icount2 As Long Dim stMessage As String Dim maindir As String maindir = ":\Analysis\BDO-VA" DR = [login to view URL]("Page1").TbDrive path = DR + maindir + [login to view URL] + "" + [login to view URL] Set FS = [login to view URL] ' for report option = 1 If [login to view URL] Then With FS .NewSearch .LookIn = path .filename = "[login to view URL]" 'MsgBox .filename icount2 = .Execute stMessage = Format(icount2, "0 ""Files Found""") 'MsgBox stMessage End With With FS .NewSearch .LookIn = path .filename = "[login to view URL]" 'MsgBox .filename icount = .Execute stMessage = Format(icount, "0 ""Files Found""") 'MsgBox stMessage End With If icount > 0 And icount2 > 0 Then reportFileExist = True Else: reportFileExist = False End If End If ' if the option is not report 1 If Not [login to view URL] Then With FS .NewSearch .LookIn = path .filename = "[login to view URL]" 'MsgBox .filename icount = .Execute stMessage = Format(icount, "0 ""Files Found""") 'MsgBox stMessage End With If icount > 0 Then reportFileExist = True Else: reportFileExist = False End If End If End Function
Project ID: 733430

About the project

14 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
14 freelancers are bidding on average $45 USD for this job
User Avatar
VBA developer since 1997. It's kinda Microsoft sent us all back in time, right? (Somewhere in the last millennium). Good news is this fix is not such a big problem. The old good Dir will do the trick. Can do. Regards, Svet.
$40 USD in 1 day
5.0 (45 reviews)
6.1
6.1
User Avatar
Please see PMB
$35 USD in 0 day
4.9 (64 reviews)
5.9
5.9
User Avatar
Hello - Please let me know if you want just the modified function back (in text format) or you want this fix in an Excel file. Thank you. Chandra Ram
$45 USD in 0 day
4.9 (35 reviews)
5.6
5.6
User Avatar
Hello, please see PM
$35 USD in 2 days
5.0 (19 reviews)
4.7
4.7
User Avatar
Hello, I can help you. Pls check your PMB.
$30 USD in 0 day
5.0 (8 reviews)
4.0
4.0
User Avatar
Dear Ixeed! I am an experienced VB and VBA programmer and would be happy to work for you. Please, check PMB. Sincerely yours, John.
$48 USD in 2 days
4.8 (9 reviews)
3.8
3.8
User Avatar
Please see PMB.
$40 USD in 0 day
5.0 (2 reviews)
1.9
1.9
User Avatar
ready to go.
$130 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I already had the same problem and fixed it. This is why you can decide for me. Thank you!
$50 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am finding the solution right now
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I know the solution, readily available to do the job within few hours
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Toronto, Canada
5.0
5
Payment method verified
Member since Aug 4, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.