Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open folder
How to write....
Check to see if this folder is already open, if so display. Otherwise, go to location and open. T:\Operations\group\J's Daily 8 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open folder
Try code like the following:
Dim FolderName As String FolderName = "C:\Test" If Dir(FolderName, vbDirectory) = vbNullString Then MsgBox "Folder: " & FolderName & " not found" Else Shell "explorer.exe " & FolderName, vbNormalFocus End If Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Mon, 18 May 2009 14:21:06 -0700 (PDT), "J.W. Aldridge" wrote: How to write.... Check to see if this folder is already open, if so display. Otherwise, go to location and open. T:\Operations\group\J's Daily 8 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open folder
perfect....
thanx! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Check for file in folder, if not there, open folder to rename file | Excel Programming | |||
User selection of folder and open all .xls files within folder | Excel Programming | |||
Help: Can open a spreadsheet in a folder which contains spaces in the folder name! | Excel Programming | |||
open file from folder save in new folder | Excel Programming | |||
Open files in folder - skip if already open | Excel Programming |