LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default SaveAs - - provide option to Save As .xlsm or .xls

I have the following snippet of code

filesavename = Application.GetSaveAsFilename( _
InitialFileName:=SuggestedName & ".xls", _
FileFilter:="Excel Files (*.xls), *.xls")

How would I need to change this supply a suggestedname for either XLS or
XLSM files. When I use this, it's only .XLS I think what I'm wanting is a
File Filter that includes xls and xlsm. Can this be done? If so, I guess I
need to change the initial file name somehow.

Suggestions?

Thanks,
Barb Reinhardt

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Provide option to specify level of difficulty of the Question dhstein Excel Discussion (Misc queries) 2 April 3rd 09 03:07 PM
Can't save xlsm as web page Jonathan Brown Excel Discussion (Misc queries) 0 February 12th 09 05:40 PM
Can't save a .xlsm as a web page Jonathan Brown Excel Discussion (Misc queries) 0 February 12th 09 05:39 PM
SaveAs XLSM question Barb Reinhardt Excel Programming 6 October 2nd 08 05:57 PM
SaveAs works on one PC, not another. "Save" not really an option. What to do? Colleyville Alan Excel Programming 0 July 11th 04 03:43 AM


All times are GMT +1. The time now is 11:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"