N
news.sintef.no
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
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