Consulting

Results 1 to 9 of 9

Thread: Solved: how to open a folder?

  1. #1

    Solved: how to open a folder?

    i would like my macro to open a folder, how?
    For example: "S:\ACCTS. INVOICES" <- this.

    Thanks.

  2. #2
    VBAX Mentor
    Joined
    Oct 2007
    Posts
    372
    Location
    Change your directory?
    [VBA]ChDir "S:\Accts.Invoices\"[/VBA] or to open the file [VBA]
    Workbooks.Open Filename:= _
    "S:\ACCTS.INVOICES\Myfile.xls"[/VBA]

  3. #3
    no, i was wondering if it's possible to open a directory, no change it.
    I'm not even sure if this is possible, just a shot in the dark.

    Thanks.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    What do you mean by open a directory?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5

  6. #6
    Great! Works perfectly, thanks firefytr!

  7. #7
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    You're very welcome. Don't forget you can mark your thread as SOLVED by going through the THREAD TOOLS drop down at the top of your post.

  8. #8
    I was wondering how to do that, lol. Why not add a big button "mark as solved" next to "quote" ???

  9. #9
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Because it would put it next to every button on every post. The way the php software is designed, it's easier to keep it in Thread Tools, which is exactly what it is, a tool. Thanks for the suggestion/feedback though.

Posting Permissions

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