Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Macros in Previous Version

I have a spreadsheet with macros in a previous version of Excel. It does not
work anymore. When I run the macro I get following error: Cannot run the
macro"append(1).xls'!main.' The macro may not be available in this workbook
or all macros may be disabled.

But when I disable the macro to merge several "csv" spreadsheets into one
sheet, I am getting a Microsoft Visual Basic Run-time error '1004': Method
'Range' of object '_Worksheet' failed.

Like I said, I was able to use this sheet before we HAD to convert to 2007,
and ever since then, it has not worked and it's the easiest way to merge
multiple sheets into one.

Any suggestions? Thank you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Macros in Previous Version

Is the file it is in saved as an .xlxm? I don't have xl2007 so I am
guessing, but I know that the file extensions are different and if
append(1).xls is the workbook with the macro, you probably need to save it as
..xlxm and change your call statement to reflect that.

"daydd" wrote:

I have a spreadsheet with macros in a previous version of Excel. It does not
work anymore. When I run the macro I get following error: Cannot run the
macro"append(1).xls'!main.' The macro may not be available in this workbook
or all macros may be disabled.

But when I disable the macro to merge several "csv" spreadsheets into one
sheet, I am getting a Microsoft Visual Basic Run-time error '1004': Method
'Range' of object '_Worksheet' failed.

Like I said, I was able to use this sheet before we HAD to convert to 2007,
and ever since then, it has not worked and it's the easiest way to merge
multiple sheets into one.

Any suggestions? Thank you for your help.

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
Restore Previous Version Ginnie Excel Discussion (Misc queries) 2 December 17th 08 10:38 PM
Retrieve Previous Version Musette Excel Discussion (Misc queries) 1 September 19th 08 07:48 PM
Add-in created for previous of version of Excel Benoit Lamarche Excel Discussion (Misc queries) 1 February 21st 08 04:41 PM
Recovering previous version file name joshuabrown97 Excel Discussion (Misc queries) 1 June 20th 07 02:53 PM
How do I retrieve a previous version of file? Urospin Excel Discussion (Misc queries) 4 March 20th 05 01:13 AM


All times are GMT +1. The time now is 05:51 PM.

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

About Us

"It's about Microsoft Excel"