Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
raj raj is offline
external usenet poster
 
Posts: 32
Default Load Windows Explorer

Hello, please help.

What is the easiest method to open a new instance of
Windows Explorer and have it display a certain subfolder
with a split screen (i.e. folders on left/files & file
details on right)?

Your example code would be most helpful, thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Load Windows Explorer

Hi raj,

Here's one way to do it:

Sub ExploreCDrive()
Dim sh As Shell32.Shell

Set sh = New Shell32.Shell
sh.Explore "c:\"
Set sh = Nothing
End Sub

To execute this, you need to set a reference to "Microsoft Shell Controls
and Automation" via Tools | References. I'm not sure what OSes the library
is included with.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


raj wrote:
Hello, please help.

What is the easiest method to open a new instance of
Windows Explorer and have it display a certain subfolder
with a split screen (i.e. folders on left/files & file
details on right)?

Your example code would be most helpful, thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 214
Default Load Windows Explorer

Hi raj;
Sub DirExplore()
With CreateObject("Shell.Application")
.Explore "C:\Mes Documents"
End With
End Sub

MP

"raj" a écrit dans le message de
...
Hello, please help.

What is the easiest method to open a new instance of
Windows Explorer and have it display a certain subfolder
with a split screen (i.e. folders on left/files & file
details on right)?

Your example code would be most helpful, thanks.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Load Windows Explorer

Shell "Explorer /n,/e,C:\Program Files"

"raj" wrote in message
...
Hello, please help.

What is the easiest method to open a new instance of
Windows Explorer and have it display a certain subfolder
with a split screen (i.e. folders on left/files & file
details on right)?

Your example code would be most helpful, thanks.



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
Windows Explorer Launchnet Excel Worksheet Functions 2 June 25th 07 05:57 AM
When I double click an Excel file in Explorer, it does not load. jlamirande Excel Discussion (Misc queries) 3 January 6th 06 08:17 PM
windows explorer to excel barrfly Excel Discussion (Misc queries) 2 July 27th 05 04:28 PM
Windows Explorer maximizes over XL 2000, if opened w/ explorer bill Excel Discussion (Misc queries) 2 June 28th 05 02:53 PM
Why does Windows Installer load Pat Setting up and Configuration of Excel 6 January 15th 05 06:12 AM


All times are GMT +1. The time now is 10:58 PM.

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"