Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Want to Open Windows Explorer With an Excel Macro

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   Report Post  
Posted to microsoft.public.excel.programming
ste ste is offline
external usenet poster
 
Posts: 18
Default Want to Open Windows Explorer With an Excel Macro

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Want to Open Windows Explorer With an Excel Macro

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
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
Open Excel 2003 from Windows Explorer pmpjr Excel Discussion (Misc queries) 9 September 11th 06 03:58 PM
Excel files won't open from Windows Explorer AnotherEd Excel Discussion (Misc queries) 3 July 20th 06 09:58 PM
Open link in Excel, not Windows explorer amthyst826 Excel Discussion (Misc queries) 2 October 31st 05 11:14 PM
windows explorer will not open an excel spreadsheet. hal Excel Discussion (Misc queries) 2 June 24th 05 02:07 AM
Replace Excel File Open with Windows Explorer KymY Excel Discussion (Misc queries) 2 May 2nd 05 01:05 PM


All times are GMT +1. The time now is 12:29 AM.

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

About Us

"It's about Microsoft Excel"