#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default Macros in Excel 2007

We have an issue with Excel 2007 workbooks in our workplace. We have an
Excel 2003 workbook that just contains unlock and lock macros. Our
administrators open this workbook, and then they are able to open different
lecturers workbooks and apply these macros to lock and unlock specific cells.


This works fine in Excel 2003, but when they saved the workbooks to Excel
2007 format, although the administrators are still able to open the lecturers
workbooks, the lecturers get a message saying that the file format in invalid
or is corrupt.

Any suggestions as to what the problem could be? Any help appreciated.

Michelle
--
Michelle
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 449
Default Macros in Excel 2007

Hi Michelle

Would the old workbook by any chance be a template file (xlt) ? I've had
plenty of trouble with those in 2007.
I'd recommend to create a brand new macro enabled workbook (xlsm) and
copy-paste the old code into it. And from there maybe an addin (xlam).

HTH. Best wishes Harald

"Michelle" wrote in message
...
We have an issue with Excel 2007 workbooks in our workplace. We have an
Excel 2003 workbook that just contains unlock and lock macros. Our
administrators open this workbook, and then they are able to open
different
lecturers workbooks and apply these macros to lock and unlock specific
cells.


This works fine in Excel 2003, but when they saved the workbooks to Excel
2007 format, although the administrators are still able to open the
lecturers
workbooks, the lecturers get a message saying that the file format in
invalid
or is corrupt.

Any suggestions as to what the problem could be? Any help appreciated.

Michelle
--
Michelle


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default Macros in Excel 2007

Thanks Harald. The old workbook is .xls format. Will try the suggestion
that you made.

Thanks,
--
Michelle


"Harald Staff" wrote:

Hi Michelle

Would the old workbook by any chance be a template file (xlt) ? I've had
plenty of trouble with those in 2007.
I'd recommend to create a brand new macro enabled workbook (xlsm) and
copy-paste the old code into it. And from there maybe an addin (xlam).

HTH. Best wishes Harald

"Michelle" wrote in message
...
We have an issue with Excel 2007 workbooks in our workplace. We have an
Excel 2003 workbook that just contains unlock and lock macros. Our
administrators open this workbook, and then they are able to open
different
lecturers workbooks and apply these macros to lock and unlock specific
cells.


This works fine in Excel 2003, but when they saved the workbooks to Excel
2007 format, although the administrators are still able to open the
lecturers
workbooks, the lecturers get a message saying that the file format in
invalid
or is corrupt.

Any suggestions as to what the problem could be? Any help appreciated.

Michelle
--
Michelle



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Macros in Excel 2007

On Feb 27, 7:18*am, "Harald Staff" wrote:
Hi Michelle

Would the old workbook by any chance be a template file (xlt) ? I've had
plenty of trouble with those in 2007.
I'd recommend to create a brand new macro enabled workbook (xlsm) and
copy-paste the old code into it. And from there maybe an addin (xlam).

HTH. Best wishes Harald

"Michelle" wrote in message

...



We have an issue with Excel 2007 workbooks in our workplace. *We have an
Excel 2003 workbook that just contains unlock and lock macros. *Our
administrators open this workbook, and then they are able to open
different
lecturers workbooks and apply these macros to lock and unlock specific
cells.


This works fine in Excel 2003, but when they saved the workbooks to Excel
2007 format, although the administrators are still able to open the
lecturers
workbooks, the lecturers get a message saying that the file format in
invalid
or iscorrupt.


Any suggestions as to what the problem could be? *Any help appreciated..


Michelle
--
Michelle- Hide quoted text -


- Show quoted text -


I am not sure whether your excel file is corrupt. I think you can try
a popular Excel file recovery tool called Advanced Excel Repair to
repair your Excel file. It is a powerful tool to repair corrupt or
damaged Excel files.

Detailed information about Advanced Excel Repair can be found at
http://www.datanumen.com/aer/

And you can also download a free demo version at http://www.datanumen.com/aer/aer.exe

Alan
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
Excel Macros from 2003 to 2007 brihyanna Excel Discussion (Misc queries) 1 December 14th 07 03:29 PM
Excel 2007 and macros Chimelle Excel Discussion (Misc queries) 5 September 7th 07 10:03 PM
Excel 2007 and Macros Rob[_4_] Excel Discussion (Misc queries) 4 April 19th 07 12:02 PM
Macros in Excel 2007 Graham Excel Discussion (Misc queries) 8 April 6th 07 10:59 PM
Macros in Office Excel 2007 Macros in Office 2007 - Excel Excel Worksheet Functions 2 July 7th 06 12:29 AM


All times are GMT +1. The time now is 06:23 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"