Macro VB project Message error message after closing Microsoft Excel file

>> Wednesday 13 June 2012

Macro VB project Message error message after closing Microsoft Excel file
My codes image a table in Office 2003 excel template with macro enable, after I update to Office 2007, I get this error message on closing the workbook: The following features cannot be saved in macro-free workbooks. VB project. To save a file with these features, click No, and then choose a macro-enabled file type in the File Type list.To continue saving as a macro-free workbook, click Yes. Is there a way I can suppress this message programmatically? Or using Office 2007 policy? It seems that Office 2007 does not allow to save as .xlsx with macro. Thanks for your help.
Reply With Quote
#2
Old 13-01-2012
QUENBY QUENBY is offline
Member

Join Date: Jun 2011
Posts: 586
Re: macro-free workbooks - VB project message error message after closing Microsoft Excel
You need to save it once as a 'macro-enabled workbook' in 2007. I think the type is xlsm. After that you can save the file without getting this message.
Reply With Quote
#3
Old 13-01-2012
Hollyn Hollyn is offline
Member

Join Date: Jul 2011
Posts: 582
Re: macro-free workbooks - VB project message error message after closing Microsoft Excel
But every-time after the user images the template, then he closes this template, the error message displays again. Is there a way, I can default this template to .xlsm (or .xls) on saving when user closes the template?
Reply With Quote
#4
Old 13-01-2012
Leanne Leanne is offline
Member

Join Date: Jul 2011
Posts: 578
Re: macro-free workbooks - VB project message error message after closing Microsoft Excel
A template will try to save the file in the default format of Excel 2007 You can change the default file format to xlsm(with macros) See Office Button>Excel Options. Save I send a suggestion to MS to always default the save for a template with code as xlsm.
Reply With Quote
#5
Old 13-01-2012
Koman Koman is offline
Member

Join Date: Jul 2011
Posts: 563
Re: macro-free workbooks - VB project message error message after closing Microsoft Excel
The main reason for this error due to the application VB runtime is trying to copy and paste the complete row in a worksheet or may groped too many lines in the Excel worksheet. To resolve this runtime error, you must first make sure that the VB macro is just transferred to the line defined in the Excel worksheet. Rather than copy the complete row, you can get it done using a simple command. In this way, data is transferred to the system without leaving any piece of information.
Reply With Quote
#6
Old 13-01-2012
AnitG AnitG is offline
Member

Join Date: Aug 2011
Posts: 491
Re: macro-free workbooks - VB project message error message after closing Microsoft Excel
The use of the registry repair tool will completely remove the errors and fix the runtime error 1004 easily and efficiently. This registry repair tool, not only helps to solve the error code 1004, but also helps to solve a series of errors which is caused by damage to the registry.

1 comments:

Unknown 24 September 2012 at 10:45  

how to recover Excel file recovers fonts, worksheets, formulas, styles of tables and etc. Tool check corrupted excel file, analyzes it and in some easily steps recovers it.

Post a Comment

Read - Share - Comment

About This Blog

Share and Save

About Author