Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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


--
Timmy Mac1
------------------------------------------------------------------------
Timmy Mac1's Profile: http://www.excelforum.com/member.php...o&userid=15188
View this thread: http://www.excelforum.com/showthread...hreadid=542077

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
opening a file from windows explorer or the desktop, etc. Lance Napier Excel Discussion (Misc queries) 4 June 24th 08 03:27 AM
Creates new file when opening in windows explorer fund_dan Excel Discussion (Misc queries) 4 December 27th 07 08:23 PM
File Open Vs Opening from Windows Explorer [email protected] Excel Discussion (Misc queries) 0 September 7th 07 10:15 AM
Opening Excel workbooks from Windows Explorer R Ormerod Excel Discussion (Misc queries) 2 April 1st 06 12:44 PM
Opening excel filese from windows explorer Alberto Excel Discussion (Misc queries) 1 November 3rd 05 11:36 PM


All times are GMT +1. The time now is 10:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"