Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-10-2014, 09:43 AM
funkyfido funkyfido is offline Saving macro in Excel 2010 Windows XP Saving macro in Excel 2010 Office 2007
Novice
Saving macro in Excel 2010
 
Join Date: Jun 2013
Posts: 24
funkyfido is on a distinguished road
Default Saving macro in Excel 2010


I have a macro which runs fine in Excel 2007. We have now upgraded to Excel 2010 but the macro won't save.

The code I am using is as follows:-
ActiveWorkbook.SaveAs Filename:="Y:\Reports\Test.xlsm", _
FileFormat:=xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False
ActiveWindow.Close

The error message which is returned is
"Errors were detecting while saving, may be able to save the file by removing or repairing some features" which it cannot do either.

Any idea how to get around this issue?
Thanks
Reply With Quote
 

Tags
excel 2010, saving, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
the saveas macro in excel 2010 is not transferring the macros to the new workbook missmr28 Excel Programming 3 06-20-2012 05:30 AM
Saving macro in Excel 2010 saving data in excel 2010 from excel 2003 johnkcalg Excel 1 02-06-2012 07:33 PM
Cutting and Pasting and Macro problems in Excel 2010 enkel Excel Programming 3 01-02-2012 10:15 PM
Mail with macro Excel 2010 santors71 Excel Programming 1 12-07-2011 06:34 AM
Saving macro in Excel 2010 Saving in Excel 2010 Issues Terosset Excel 7 03-09-2011 04:02 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft