Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
'I ask for a new filename:
fileKimutatas = Application.GetOpenFilename("Adatok (*.xls), *.xls") If fileKimutatas < False Then 'I open it, if the string not empty: Workbooks.Open Filename:=fileKimutatas 'Operations: .... 'I am going back to the original file: Workbooks("Gazszamla_adatok.xls").Activate 'Operations: .... 'I activate the opened file: Workbooks(2).Activate .... .... End if My question is: Instead of Workbooks(2).Activate how could I link to that file? (The "fileKimutatas" variable has the name of the file) Thank you in advance! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See response in .programming
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Konczér Tamás" wrote in message . .. 'I ask for a new filename: fileKimutatas = Application.GetOpenFilename("Adatok (*.xls), *.xls") If fileKimutatas < False Then 'I open it, if the string not empty: Workbooks.Open Filename:=fileKimutatas 'Operations: .... 'I am going back to the original file: Workbooks("Gazszamla_adatok.xls").Activate 'Operations: .... 'I activate the opened file: Workbooks(2).Activate .... .... End if My question is: Instead of Workbooks(2).Activate how could I link to that file? (The "fileKimutatas" variable has the name of the file) Thank you in advance! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you Bob.
"Bob Phillips" az alábbiakat írta a következő hírüzenetben: ... See response in .programming -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Konczér Tamás" wrote in message . .. 'I ask for a new filename: fileKimutatas = Application.GetOpenFilename("Adatok (*.xls), *.xls") If fileKimutatas < False Then 'I open it, if the string not empty: Workbooks.Open Filename:=fileKimutatas 'Operations: ... 'I am going back to the original file: Workbooks("Gazszamla_adatok.xls").Activate 'Operations: ... 'I activate the opened file: Workbooks(2).Activate ... ... End if My question is: Instead of Workbooks(2).Activate how could I link to that file? (The "fileKimutatas" variable has the name of the file) Thank you in advance! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
set filename to <filename-date on open | Excel Worksheet Functions | |||
Double-CLK open appends a number to filename | Excel Discussion (Misc queries) | |||
why does excel 2002 add a '1' to the filename everytime I open a f | Excel Discussion (Misc queries) | |||
Why doesn't the File Open list sort into filename order? | New Users to Excel | |||
Global Setting For All Workbooks - Filename In Footer | Excel Worksheet Functions |