+ Reply to Thread
Results 1 to 2 of 2

Opening Windows Explorer...

  1. #1
    Registered User
    Join Date
    10-11-2004
    Posts
    69

    Opening Windows Explorer...

    Is there a piece of code I can put in a macro that would allow me to do the following....?

    After running a report which summarises the data for Names on selected criteria, I want to make it possible for the user to select one of the Names that appear which will then produce a specific breakdown for that particular Name.

    In addition (and this is where I need help) I would like Windows Explorer to open up on a folder with the same Name (already set up - unless its possible to do this automatically if one hasn't been set up).

    Any help / comments would be much appreciated

    Thanks

    tm

  2. #2
    Ivan Raiminius
    Guest

    Re: Opening Windows Explorer...

    Hi Timmy,

    you can use something like this:

    folder_you_want_as_string="C:\" 'for example
    shell("explorer.exe /e," & folder_you_want_as_string, vbNormalFocus)

    See help on shell function for more details.

    Regards,
    Ivan


+ 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