Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2007

Tip: Looking for answers? Try searching our database.

Compile Error with when opening excel file from another machine

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Corey - 01 Apr 2007 23:26 GMT
I have quite a complex VB Excel file with many macros and Forms.
All works great on my PC, but when the file is opened from another users PC it immediately comes up
with a Copile error.

The VB line highlighed is :
Sheet1.Range("C16").Value = Format(Now, "mmmm yy")
With the [Format] Highlighted.

If i click OK, and try to run a macro i then get another Compile error.

Is there a way to fix this?
Both PC's re running Office XP and have ALL Excel components installed.

Corey....
Chip Pearson - 02 Apr 2007 00:36 GMT
In VBA, go to the Tools menu and choose "References". See if any are marked
"MISSING". If so, you can either uncheck them if they are not needed or you
can browse to the actual file if you know what it is.

Signature

Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting LLC
www.cpearson.com
(email on the web site)

>I have quite a complex VB Excel file with many macros and Forms.
> All works great on my PC, but when the file is opened from another users
[quoted text clipped - 11 lines]
>
> Corey....
Corey - 02 Apr 2007 00:57 GMT
Thanks Chip.

In VBA, go to the Tools menu and choose "References". See if any are marked
"MISSING". If so, you can either uncheck them if they are not needed or you
can browse to the actual file if you know what it is.

Signature

Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting LLC
www.cpearson.com
(email on the web site)

>I have quite a complex VB Excel file with many macros and Forms.
> All works great on my PC, but when the file is opened from another users
[quoted text clipped - 11 lines]
>
> Corey....

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.