excel 2000 : define variables

Qroozn

Well-known Member
Joined
Mar 12, 2002
Messages
544
How can i turn off the :

compile error:
variable not defined

I turned off the yools/options/ and unchecked the "require variable declaration" but i still get the compile error!


Please Help a friend in need
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Have you defined anything with OptionExplicit or Private?

If so then your only option is to define.

Show your code may be we can fix it? JSW
 
Upvote 0
On 2002-08-27 19:16, Qroozn wrote:
How can i turn off the :

compile error:
variable not defined

I turned off the yools/options/ and unchecked the "require variable declaration" but i still get the compile error!


Please Help a friend in need

Hi Qroozn
Whilst there are times you may need to turn this option off, it is good practice to leave it ON, it will save you a lot a problems latter on when you start doing larger projects.....But that choice is yours.
The only time I turn it off is to do quick routines that may only contain a few variables that I know have no conflict for quick tests....then I turn it back on and recompile.
 
Upvote 0
Ivan.
as you know I take corners.
But i am now working on determing the correct variables for my coding.
Thanks for the tip!
 
Upvote 0

Forum statistics

Threads
1,225,481
Messages
6,185,239
Members
453,283
Latest member
Shortm88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top