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

My boss just updated my slow old computer with a fast new
computer...with Vista operating system. We immediately checked out
our visual basic code written under windows 2000, and the macros are
behaving differently. What I need to know is if we just need to
change some settings somewhere. Or would it be better to request
windows 2000 to be loaded onto this new computer?

Anyway, the modules are acting as though I've declared Option Explicit
(I have not). I get an error message for every undeclared variable.
I checked the Tools...Options menu and and the check box for Require
Variable Declaration is not selected. Declaring variables is not that
big a problem, although I'd like to know what is happening here.

The bigger problem so far is that many functions just don't work
anymore, the computer doesn't recognize them. Left( ) doesn't work.
FormatDateTime( ), MonthName( )...the list goes on. I can get around
some by using application.worksheetfunction.left( ) etc. Is there a
library of some sort I need to load? Does someone out there know what
the deal is? Thanks so much.

Lisa

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default Vista Macros

Lisa

Excluding LEFT the others are not native Excel functions so I suspect they
were part of an add-in you haven't re-loaded ASAP utilities, PUP, etc, etc?

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
web:
www.nickhodge.co.uk
blog (non-tech): www.nickhodge.co.uk/blog/
wrote in message
ups.com...
My boss just updated my slow old computer with a fast new
computer...with Vista operating system. We immediately checked out
our visual basic code written under windows 2000, and the macros are
behaving differently. What I need to know is if we just need to
change some settings somewhere. Or would it be better to request
windows 2000 to be loaded onto this new computer?

Anyway, the modules are acting as though I've declared Option Explicit
(I have not). I get an error message for every undeclared variable.
I checked the Tools...Options menu and and the check box for Require
Variable Declaration is not selected. Declaring variables is not that
big a problem, although I'd like to know what is happening here.

The bigger problem so far is that many functions just don't work
anymore, the computer doesn't recognize them. Left( ) doesn't work.
FormatDateTime( ), MonthName( )...the list goes on. I can get around
some by using application.worksheetfunction.left( ) etc. Is there a
library of some sort I need to load? Does someone out there know what
the deal is? Thanks so much.

Lisa


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Vista Macros

I think it's time for an upgrade <vbg.

Nick Hodge wrote:

Lisa

Excluding LEFT the others are not native Excel functions so I suspect they
were part of an add-in you haven't re-loaded ASAP utilities, PUP, etc, etc?

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
web:
www.nickhodge.co.uk
blog (non-tech): www.nickhodge.co.uk/blog/
wrote in message
ups.com...
My boss just updated my slow old computer with a fast new
computer...with Vista operating system. We immediately checked out
our visual basic code written under windows 2000, and the macros are
behaving differently. What I need to know is if we just need to
change some settings somewhere. Or would it be better to request
windows 2000 to be loaded onto this new computer?

Anyway, the modules are acting as though I've declared Option Explicit
(I have not). I get an error message for every undeclared variable.
I checked the Tools...Options menu and and the check box for Require
Variable Declaration is not selected. Declaring variables is not that
big a problem, although I'd like to know what is happening here.

The bigger problem so far is that many functions just don't work
anymore, the computer doesn't recognize them. Left( ) doesn't work.
FormatDateTime( ), MonthName( )...the list goes on. I can get around
some by using application.worksheetfunction.left( ) etc. Is there a
library of some sort I need to load? Does someone out there know what
the deal is? Thanks so much.

Lisa


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Vista Macros


Huh...Tools - References gives me "Error Accessing the System
Registry"



On May 22, 3:11 pm, Dave Peterson wrote:
Open the workbook on the troublesome pc
Open the VBE
Select your project
Tools|References
Look for MISSING in that list of references.

Depending on what's missing, you may be able to uncheck it or replace it with
the version thatVistauses.




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Vista Macros

That doesn't sound good--but since I don't run Vista, I don't have anything but
guesses.

Does it happen after you reboot?
Does it happen if you're logged on as an admin?
If you try the same thing in MSWord's VBE, do you get that same thing?

Have you googled newsgroups for that phrase?
I just did and saw a post by Randy Birch that pointed to:

http://support.microsoft.com/kb/269383/en-us
PRB: 'Error Accessing the System Registry' Message When Displaying VB/VBA
References

Do you use Crystal Reports?



wrote:

Huh...Tools - References gives me "Error Accessing the System
Registry"

On May 22, 3:11 pm, Dave Peterson wrote:
Open the workbook on the troublesome pc
Open the VBE
Select your project
Tools|References
Look for MISSING in that list of references.

Depending on what's missing, you may be able to uncheck it or replace it with
the version thatVistauses.


--

Dave Peterson
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 Toolbars and Macros in Vista Boris of Adelaide Setting up and Configuration of Excel 5 July 24th 09 01:19 PM
XP V Vista Arisaiglass Excel Discussion (Misc queries) 3 March 10th 08 08:02 PM
Vista and XP floss Excel Discussion (Misc queries) 1 November 3rd 07 08:58 PM
excel macros and vista Fletch Excel Discussion (Misc queries) 1 September 7th 07 12:44 PM
Vista blocking macros in Excel TedT Excel Programming 0 May 15th 07 06:10 PM


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