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

To all great minds out the
A number of people have just started having issues with some macros
that I wrote a while ago which have been working fine up until now.
There is a compile error that keeps coming up. Variable that were not
declared are hightlighted which I have fixed by declaring the
variable, however the big problem is when functions like Mid are
highlighted as the problem. Does anyone have any idea on what to do to
sort this problem out?

Thanks,

Peter

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Compile error

On any of the affected machines (with the spreadsheet open) in the VBE check
Tools - References and look for any references that are listed as
"Missing:". You may be able to just uncheck the reference and it will work
just fine. If not reply back with the name of the reference that is missing.
--
HTH...

Jim Thomlinson


"Peter" wrote:

To all great minds out the
A number of people have just started having issues with some macros
that I wrote a while ago which have been working fine up until now.
There is a compile error that keeps coming up. Variable that were not
declared are hightlighted which I have fixed by declaring the
variable, however the big problem is when functions like Mid are
highlighted as the problem. Does anyone have any idea on what to do to
sort this problem out?

Thanks,

Peter


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Compile error

On 14 May, 16:05, Jim Thomlinson <James_Thomlin...@owfg-Re-Move-
This-.com wrote:
On any of the affected machines (with the spreadsheet open) in the VBE check
Tools - References and look for any references that are listed as
"Missing:". You may be able to just uncheck the reference and it will work
just fine. If not reply back with the name of the reference that is missing.
--
HTH...

Jim Thomlinson



"Peter" wrote:
To all great minds out the
A number of people have just started having issues with some macros
that I wrote a while ago which have been working fine up until now.
There is a compile error that keeps coming up. Variable that were not
declared are hightlighted which I have fixed by declaring the
variable, however the big problem is when functions like Mid are
highlighted as the problem. Does anyone have any idea on what to do to
sort this problem out?


Thanks,


Peter- Hide quoted text -


- Show quoted text -


Jim,

Thank you for your help, it worked!
Thanks again,

Peter

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
help with this error-Compile error: cant find project or library JackR Excel Discussion (Misc queries) 2 June 10th 06 09:09 PM
VBAProject name compile error, not defined at compile time Matthew Dodds Excel Programming 1 December 13th 05 07:17 PM
error message: compile error, argument not optional Pierre via OfficeKB.com Excel Programming 3 September 5th 05 03:45 PM
How do I get rid of "Compile error in hidden module" error message David Excel Discussion (Misc queries) 4 January 21st 05 11:39 PM


All times are GMT +1. The time now is 09:04 AM.

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"