#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default why VBA. ?

Can anybody tell me why I sometimes need to put VBA. in front of eg. Right or
Chr?

On different Excel installations/computers that supposively should be
identical some give me an error when I run the code without VBA. in front.

Does anybody know what setting causes this phenomenon?

Thanks
The Doctor
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default why VBA. ?

Hi Dr. Schwartz,

In the VBE, with the problematic workbook's project selected, go to:

Tools | References

and look for any entries marked 'Missing'.

Uncheck these if they are not needed or use the browse button to locate the
reference.


---
Regards,
Norman



"Dr.Schwartz" wrote in message
...
Can anybody tell me why I sometimes need to put VBA. in front of eg. Right
or
Chr?

On different Excel installations/computers that supposively should be
identical some give me an error when I run the code without VBA. in front.

Does anybody know what setting causes this phenomenon?

Thanks
The Doctor



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default why VBA. ?

Have you got any missing references in ToolsReferences? If so uncheck them.

--
HTH

Bob Phillips

"Dr.Schwartz" wrote in message
...
Can anybody tell me why I sometimes need to put VBA. in front of eg. Right

or
Chr?

On different Excel installations/computers that supposively should be
identical some give me an error when I run the code without VBA. in front.

Does anybody know what setting causes this phenomenon?

Thanks
The Doctor



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



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