Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I'm looking for a code that when the user runs the macro it prompts them to select the file which they want to open ??? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Option Explicit
Sub testme01() Dim myFileName As Variant myFileName = Application.GetOpenFilename("Excel Files, *.xls") If myFileName = False Then Exit Sub End If 'your code to open that file and do what you want. End Sub CrimsonPlague29 wrote: Hello, I'm looking for a code that when the user runs the macro it prompts them to select the file which they want to open ??? Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"Open Browser Window And Select A File" | Excel Programming | |||
Select File names and select a location of file | Excel Programming | |||
select open webpage, copy information to open worksheet | Excel Programming | |||
When I select "Open" from the "File" menu in Excel, I get only a . | Excel Discussion (Misc queries) | |||
open file dialog-select file-import worksheet | Excel Programming |