ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Conversion to XP causing problems (https://www.excelbanter.com/excel-programming/427185-conversion-xp-causing-problems.html)

Lynniebud

Conversion to XP causing problems
 
Hi all,

My office is in the process of converting from Windows NT to Windows XP. We
have a lot of spreadsheets which should kick off a macro automatically on
opening, and while they work in NT they don't in XP. The workbook opens, but
the macro doesn't run. What do I need to change to get this working?

Thanks in advance,

Lynniebud

joel

Conversion to XP causing problems
 
Start by looking at the security settings in Excel. Should be set to medium

Excel worksheet menu : Tools - Macro - Security

Older macros from excel 2000 use a On Open event. New macros use workbook
open Events. The On Open will work in excel 2003 and later, but workbook
Open doesn't work in older versions of Excel. Sometimes older macros create
errors in new versions of excel and have to be modified.

If you still have problems then try to change the Error trapping options in
VBA menu

Tools - Options - General

Another thing you may have to do is comment out the ON ERROR statements in
the VBA code to help you find the errors.

"Lynniebud" wrote:

Hi all,

My office is in the process of converting from Windows NT to Windows XP. We
have a lot of spreadsheets which should kick off a macro automatically on
opening, and while they work in NT they don't in XP. The workbook opens, but
the macro doesn't run. What do I need to change to get this working?

Thanks in advance,

Lynniebud


Lynniebud

Conversion to XP causing problems
 
Thanks very much Joel!

Lynniebud






"joel" wrote:

Start by looking at the security settings in Excel. Should be set to medium

Excel worksheet menu : Tools - Macro - Security

Older macros from excel 2000 use a On Open event. New macros use workbook
open Events. The On Open will work in excel 2003 and later, but workbook
Open doesn't work in older versions of Excel. Sometimes older macros create
errors in new versions of excel and have to be modified.

If you still have problems then try to change the Error trapping options in
VBA menu

Tools - Options - General

Another thing you may have to do is comment out the ON ERROR statements in
the VBA code to help you find the errors.

"Lynniebud" wrote:

Hi all,

My office is in the process of converting from Windows NT to Windows XP. We
have a lot of spreadsheets which should kick off a macro automatically on
opening, and while they work in NT they don't in XP. The workbook opens, but
the macro doesn't run. What do I need to change to get this working?

Thanks in advance,

Lynniebud



All times are GMT +1. The time now is 01:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com