HI,
Seems to me this should work, but it doesn't: I get an "Object Required" error message.
Any ideas?![]()
Dim FPath As String Set FPath = "C:\Macros\Pyramid File Extractions\HPES_Asset_Reconciliation_Data_PyramidAP_1.xlsx"
Thanks.
Brian
HI,
Seems to me this should work, but it doesn't: I get an "Object Required" error message.
Any ideas?![]()
Dim FPath As String Set FPath = "C:\Macros\Pyramid File Extractions\HPES_Asset_Reconciliation_Data_PyramidAP_1.xlsx"
Thanks.
Brian
As you have defined it, FPath is a string, not an object. So you don't use "Set".
![]()
Dim FPath As String FPath = "C:\Macros\Pyramid File Extractions\HPES_Asset_Reconciliation_Data_PyramidAP_1.xlsx"
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Thanks TMS, I knew it had to be simple, but I just couldn't see it.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks