Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Saving in .xlsm format by default

Is there any way to force excel 2007 to save in .xlsm format by default? At
the moment it seems to always try and save in .xlsx format by default
regardless of whether there are macros in the workbook or not. This seems a
little odd. Why can't excel choose .xlsm instead when macros are present so
that stuff isn't lost when you save?

In any case is there any way of changing the default file format in excel
2007? I'm assuming that the user would normally have to do something, but we
regularly send out spreadsheets with macros in it, and Excel 2007 users
equally have problems when they inevitably save it in .xlsx format.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Saving in .xlsm format by default

Go to the Office Button Excel Options Save. Select the Macro-Enabled
Workbook format on the default drop-down.
--
I am running on Office 2003, unless otherwise stated.


"PatrickS" wrote:

Is there any way to force excel 2007 to save in .xlsm format by default? At
the moment it seems to always try and save in .xlsx format by default
regardless of whether there are macros in the workbook or not. This seems a
little odd. Why can't excel choose .xlsm instead when macros are present so
that stuff isn't lost when you save?

In any case is there any way of changing the default file format in excel
2007? I'm assuming that the user would normally have to do something, but we
regularly send out spreadsheets with macros in it, and Excel 2007 users
equally have problems when they inevitably save it in .xlsx format.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default Saving in .xlsm format by default

Thanks Orion Cochrane,

Although I didn't post the question, I was wondering the same thing.

--
A. Ch. Eirinberg


"Orion Cochrane" wrote:

Go to the Office Button Excel Options Save. Select the Macro-Enabled
Workbook format on the default drop-down.
--
I am running on Office 2003, unless otherwise stated.


"PatrickS" wrote:

Is there any way to force excel 2007 to save in .xlsm format by default? At
the moment it seems to always try and save in .xlsx format by default
regardless of whether there are macros in the workbook or not. This seems a
little odd. Why can't excel choose .xlsm instead when macros are present so
that stuff isn't lost when you save?

In any case is there any way of changing the default file format in excel
2007? I'm assuming that the user would normally have to do something, but we
regularly send out spreadsheets with macros in it, and Excel 2007 users
equally have problems when they inevitably save it in .xlsx format.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Saving in .xlsm format by default

Why can't excel choose .xlsm instead when macros are present so
that stuff isn't lost when you save?


I would suggest Excel has no idea what a new unsaved workbook contains.


Gord Dibben MS Excel MVP

On Tue, 27 Jan 2009 09:40:01 -0800, PatrickS
<msdn_newsgroups001@_removetextplusunderscores_seu rre.com. wrote:

Is there any way to force excel 2007 to save in .xlsm format by default? At
the moment it seems to always try and save in .xlsx format by default
regardless of whether there are macros in the workbook or not. This seems a
little odd. Why can't excel choose .xlsm instead when macros are present so
that stuff isn't lost when you save?

In any case is there any way of changing the default file format in excel
2007? I'm assuming that the user would normally have to do something, but we
regularly send out spreadsheets with macros in it, and Excel 2007 users
equally have problems when they inevitably save it in .xlsx format.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Saving in .xlsm format by default

I would suggest Excel has no idea what a new unsaved workbook contains.

There is a way to test it in 2007 Gord
This is new in 2007 HasVBProject

See how I use it here
http://www.rondebruin.nl/saveas.htm

Case 52:
If .HasVBProject Then
FileExtStr = ".xlsm": FileFormatNum = 52
Else
FileExtStr = ".xlsx": FileFormatNum = 51
End If


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Gord Dibben" <gorddibbATshawDOTca wrote in message ...
Why can't excel choose .xlsm instead when macros are present so
that stuff isn't lost when you save?


I would suggest Excel has no idea what a new unsaved workbook contains.


Gord Dibben MS Excel MVP

On Tue, 27 Jan 2009 09:40:01 -0800, PatrickS
<msdn_newsgroups001@_removetextplusunderscores_seu rre.com. wrote:

Is there any way to force excel 2007 to save in .xlsm format by default? At
the moment it seems to always try and save in .xlsx format by default
regardless of whether there are macros in the workbook or not. This seems a
little odd. Why can't excel choose .xlsm instead when macros are present so
that stuff isn't lost when you save?

In any case is there any way of changing the default file format in excel
2007? I'm assuming that the user would normally have to do something, but we
regularly send out spreadsheets with macros in it, and Excel 2007 users
equally have problems when they inevitably save it in .xlsx format.




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Saving in .xlsm format by default

Cool!

I finally installed 2007 on the weekend but will be a while until up to
speed with these sorts of things.


Gord

On Tue, 27 Jan 2009 23:32:32 +0100, "Ron de Bruin"
wrote:

I would suggest Excel has no idea what a new unsaved workbook contains.


There is a way to test it in 2007 Gord
This is new in 2007 HasVBProject

See how I use it here
http://www.rondebruin.nl/saveas.htm

Case 52:
If .HasVBProject Then
FileExtStr = ".xlsm": FileFormatNum = 52
Else
FileExtStr = ".xlsx": FileFormatNum = 51
End If


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Saving in .xlsm format by default

I finally installed 2007 on the weekend

Great Gord, good to hear.

Have fun



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Gord Dibben" <gorddibbATshawDOTca wrote in message ...
Cool!

I finally installed 2007 on the weekend but will be a while until up to
speed with these sorts of things.


Gord

On Tue, 27 Jan 2009 23:32:32 +0100, "Ron de Bruin"
wrote:

I would suggest Excel has no idea what a new unsaved workbook contains.


There is a way to test it in 2007 Gord
This is new in 2007 HasVBProject

See how I use it here
http://www.rondebruin.nl/saveas.htm

Case 52:
If .HasVBProject Then
FileExtStr = ".xlsm": FileFormatNum = 52
Else
FileExtStr = ".xlsx": FileFormatNum = 51
End If


Reply
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
How to make a .XLTM template file default to save as .XLSM type? NZCoyote Excel Discussion (Misc queries) 1 April 8th 10 06:01 AM
Saving up to xlsm Deb[_2_] Excel Discussion (Misc queries) 1 April 25th 08 01:46 AM
Excel 2007 Save As xlsm by default Zarch Excel Programming 1 October 29th 07 03:46 PM
Trouble saving xlsm worbook in Excel 2007 Xavier[_6_] Excel Programming 0 October 24th 07 08:30 AM
Default a workbook to save as a xlsm (macro-enabled) in 2007 Razzer204 Excel Discussion (Misc queries) 3 March 21st 07 06:10 PM


All times are GMT +1. The time now is 02:53 AM.

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"