Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Shell function for opening windows explorer


Here's a basic question:
I'm using Shell "explorer", vbNormalFocus to open windows explorer, and
when explorer opens it is pointing toward My Documents. I would like
for it to point to My Computer instead, or possibly one of the other
drives. What do I need to add?


--
racudd
------------------------------------------------------------------------
racudd's Profile: http://www.excelforum.com/member.php...o&userid=33508
View this thread: http://www.excelforum.com/showthread...hreadid=560105

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Shell function for opening windows explorer

Couple of options
temp = Shell("EXPLORER.EXE /n,/e,/select,C:\", vbNormalFocus)
will select C: on right but still have tree available on left

temp = Shell("EXPLORER.EXE /n,/e,/root,C:\", vbNormalFocus)
will force C to the root level of tree on left and show contents of C on
right

For more info on explorer switches check out
http://support.microsoft.com/default...307856&sd=tech

Paul D

"racudd" wrote in
message ...
:
: Here's a basic question:
: I'm using Shell "explorer", vbNormalFocus to open windows explorer, and
: when explorer opens it is pointing toward My Documents. I would like
: for it to point to My Computer instead, or possibly one of the other
: drives. What do I need to add?
:
:
: --
: racudd
: ------------------------------------------------------------------------
: racudd's Profile:
http://www.excelforum.com/member.php...o&userid=33508
: View this thread: http://www.excelforum.com/showthread...hreadid=560105
:


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Shell function for opening windows explorer

http://support.microsoft.com/kb/q130510/

--
Tim Williams
Palo Alto, CA


"racudd" wrote in message
...

Here's a basic question:
I'm using Shell "explorer", vbNormalFocus to open windows explorer, and
when explorer opens it is pointing toward My Documents. I would like
for it to point to My Computer instead, or possibly one of the other
drives. What do I need to add?


--
racudd
------------------------------------------------------------------------
racudd's Profile: http://www.excelforum.com/member.php...o&userid=33508
View this thread: http://www.excelforum.com/showthread...hreadid=560105



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Shell function for opening windows explorer


Much thanks

--
racud
-----------------------------------------------------------------------
racudd's Profile: http://www.excelforum.com/member.php...fo&userid=3350
View this thread: http://www.excelforum.com/showthread.php?threadid=56010

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 Windows Explorer... Timmy Mac1[_7_] Excel Programming 1 May 15th 06 12:42 PM
Opening Excel workbooks from Windows Explorer R Ormerod Excel Discussion (Misc queries) 2 April 1st 06 12:44 PM


All times are GMT +1. The time now is 05:28 AM.

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

About Us

"It's about Microsoft Excel"