Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear all,
With a button I want to open Windows Explorer in a specific folder with an Excel macro. For example : I want to open Windows Explorer and show me the folder C:\Apps. Can somebody help me (please) with a complete code. Regards, Johan |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Johan,
this is just a sample and needs some edit but it works Function OpenDWG() As String Dim F As FileDialog Set F = Application.FileDialog(msoFileDialogOpen) Dim Fdf As FileDialogFilter With F .Filters.Clear .Filters.Add "ACAD file", "*.dwg" If .Show = -1 Then OpenDWG = F.SelectedItems(1) Else End If End With End Function |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
shell "explorer C:\Apps"
-- HTH Bob Phillips "johan" wrote in message oups.com... Dear all, With a button I want to open Windows Explorer in a specific folder with an Excel macro. For example : I want to open Windows Explorer and show me the folder C:\Apps. Can somebody help me (please) with a complete code. Regards, Johan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open Excel 2003 from Windows Explorer | Excel Discussion (Misc queries) | |||
Excel files won't open from Windows Explorer | Excel Discussion (Misc queries) | |||
Open link in Excel, not Windows explorer | Excel Discussion (Misc queries) | |||
windows explorer will not open an excel spreadsheet. | Excel Discussion (Misc queries) | |||
Replace Excel File Open with Windows Explorer | Excel Discussion (Misc queries) |