+ Reply to Thread
Results 1 to 3 of 3

Set Variable = File Path generates "Object Required" Error

  1. #1
    Registered User
    Join Date
    09-10-2012
    Location
    Berkley, Michigan USA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Set Variable = File Path generates "Object Required" Error

    HI,

    Seems to me this should work, but it doesn't: I get an "Object Required" error message.

    Please Login or Register  to view this content.
    Any ideas?

    Thanks.

    Brian

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,372

    Re: Set Variable = File Path generates "Object Required" Error

    As you have defined it, FPath is a string, not an object. So you don't use "Set".

    Please Login or Register  to view this content.

    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


  3. #3
    Registered User
    Join Date
    09-10-2012
    Location
    Berkley, Michigan USA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Set Variable = File Path generates "Object Required" Error

    Thanks TMS, I knew it had to be simple, but I just couldn't see it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1