Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I activate a file when the filename is a string variable retrieved by
the "Application.GetOpenFilename" command? strFilnavn = Application.GetOpenFilename("NPR-uttrekk (*.txt; *.org; *.dat; *.raw),*.txt;*.org;*.dat;*.raw") Windows("Another filename").Activate Windows(strFileName).Activate My problem is that "windows.activate" command don't accept a string variable. Is there another way (assigning a "current open file" number for this file?) to activate the "strFileName" file? Thanks for any suggestions Frank |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Setting a string variable as the file name | Excel Discussion (Misc queries) | |||
Nested String Filename Variable | Excel Worksheet Functions | |||
Macro to open most recent file with a particular filename string | Excel Discussion (Misc queries) | |||
Put Filename Variable in Macro | Excel Discussion (Misc queries) | |||
Using a variable string in a file save path | Excel Programming |