Thread: Open a Folder
View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
danpt danpt is offline
external usenet poster
 
Posts: 49
Default Open a Folder

Thank you very much, Rick
Shell "explorer.exe J:\Backup\bBackup", vbNormalFocus
which is what I wanted.

"Rick Rothstein" wrote:

As long as you don't want your code to interact with Windows Explorer, you
should be able to open it using this...

Shell "explorer.exe", vbNormalFocus

--
Rick (MVP - Excel)


"danpt" wrote in message
...
Hi, Steve
I just want to open an Explorer type window to reveal the contents of the
bBackup folder.

"Steve Yandl" wrote:

Define what you mean by "open the bBackup folder". Are you wanting the
SaveAs dialog to appear opened to the bBackup folder or are you just
wanting
an Explorer type window opening to reveal the contents of the bBackup
folder
or something else?

Steve Yandl


"danpt" wrote in message
...
I backup different xls file groups in J:\Backup\aBackup,
J:\Backup\bBackup
and so on.
Please help me to scripte a vba that will open the bBackup folder.
Thanks