Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default excel macro in '97 does not work in Vista

I have a lot of Excel '97 files made up in windows 98, containing a lot of
macros.
These macros worked perfectly when I swithed to Windows XP and Excel 2003.
Unfortunately, on Windows Vista all files load normally but their macros do
not work. Variables not already declared must be declared, shortcut cell
reference is not understood, bit these problems may be resolved. The
"Chr(10)" in messages is not understood and I cannot find a solution on the
error message "compile error in hidden module ..XX. The compilation error
on "chr(10)" is .. 'can't find project or library'.
Any idea to resolve this before going thru to all messages change ??
thank you
--
Basilio
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default excel macro in '97 does not work in Vista

In the VBIDE, go to ToolsReferences, and see if any items have MISSING
alongside them. If so, uncheck these items.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"basilio" wrote in message
...
I have a lot of Excel '97 files made up in windows 98, containing a lot of
macros.
These macros worked perfectly when I swithed to Windows XP and Excel 2003.
Unfortunately, on Windows Vista all files load normally but their macros
do
not work. Variables not already declared must be declared, shortcut cell
reference is not understood, bit these problems may be resolved. The
"Chr(10)" in messages is not understood and I cannot find a solution on
the
error message "compile error in hidden module ..XX. The compilation
error
on "chr(10)" is .. 'can't find project or library'.
Any idea to resolve this before going thru to all messages change ??
thank you
--
Basilio



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default excel macro in '97 does not work in Vista

Variables not already declared must be declared,
shortcut cell reference is not understood


FWIW, these are not good programming practices. You should always require
variable declaration, and you should avoid shortcut references and instead
reference objects fully.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"basilio" wrote in message
...
I have a lot of Excel '97 files made up in windows 98, containing a lot of
macros.
These macros worked perfectly when I swithed to Windows XP and Excel 2003.
Unfortunately, on Windows Vista all files load normally but their macros
do
not work. Variables not already declared must be declared, shortcut cell
reference is not understood, bit these problems may be resolved. The
"Chr(10)" in messages is not understood and I cannot find a solution on
the
error message "compile error in hidden module ..XX. The compilation
error
on "chr(10)" is .. 'can't find project or library'.
Any idea to resolve this before going thru to all messages change ??
thank you
--
Basilio



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
How do I make the Excel 2007 file preview work with Vista? akapeggysue Excel Discussion (Misc queries) 0 September 23rd 09 05:38 PM
Why won't page down work in Excel 2007 on my Vista computr? New General Comment Excel Discussion (Misc queries) 1 September 16th 09 08:26 PM
ms office 2003 excel does not work well on vista cdjk_081 Excel Discussion (Misc queries) 0 August 4th 09 11:53 AM
Will Excel Solver in Office97 work with Vista? Alan C[_2_] Excel Discussion (Misc queries) 1 December 13th 07 05:50 PM
MSN stock quote add-in for Excel 2007 doesn't work on Vista Chris Setting up and Configuration of Excel 0 July 13th 07 03:28 AM


All times are GMT +1. The time now is 04:11 PM.

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"