milanpatel17
New Member
- Joined
- Sep 14, 2013
- Messages
- 9
Hello Guys,
I have created a macro which basically put data from one excel file to main file and than save the main file on desired location.
I was using windows XP previously and the macro was working fine. Below is my problem description.
Windows XP : After starting macro, it collects data from raw data and paste into the main file, than it opens a save as dialogue box, and in the saveas dialogue box, old file name appears automatically so user can edit just a small part and file will be saved. (like 2014 JAN data.xls appears in file name, So I can edit it like 2014 FEB data.xls.)
but in
Windows 7 : when save as dialogue box opens, file name shows blank. and in filetype displays "all files" instead of ".xls" file. So takes more time to write the whole file name in "file name" space.
DO I NEED TO INSTALL ANY ADD ON PACK for this. I am a learning phase on VB Scripting.
Any info will be helpful.
Thanks Guys...
<code i am using>
I have created a macro which basically put data from one excel file to main file and than save the main file on desired location.
I was using windows XP previously and the macro was working fine. Below is my problem description.
Windows XP : After starting macro, it collects data from raw data and paste into the main file, than it opens a save as dialogue box, and in the saveas dialogue box, old file name appears automatically so user can edit just a small part and file will be saved. (like 2014 JAN data.xls appears in file name, So I can edit it like 2014 FEB data.xls.)
but in
Windows 7 : when save as dialogue box opens, file name shows blank. and in filetype displays "all files" instead of ".xls" file. So takes more time to write the whole file name in "file name" space.
DO I NEED TO INSTALL ANY ADD ON PACK for this. I am a learning phase on VB Scripting.
Any info will be helpful.
Thanks Guys...
<code i am using>
Code:
saven = Application.GetSaveAsFilename
ActiveWorkbook.SaveAs (saven)