variable names stop to adapt to changes

  • Thread starter Thread starter Claude
  • Start date Start date
C

Claude

Hallo,

programing Excel-sheets, my VB 6.5 editor suddenly begins to behave
strangely, i.e. when I change the spelling of a variable after DIM the same
variables within the sub-routine won't change accordingly as they used to do.

For example:

DIM intNumbr AS INTEGER
...
intNumbr = 5

When I used to correct into

DIM intNumber AS INTEGER

all other lines would change automatically like

intNumber =5

This helpful feature just stopped working and I do not find any checkbox
under Options or anywhere to make it work again.

Any suggestions?
Thanks a lot.

Claude
 
I think you're mis-remembering.

If you change the case (not spelling) of intNumbr, then all the other
occurrences will reflect that change. If you really change the spelling, then
maybe you can just use a nice Edit|Replace to change the others.
 
Thanks Dave, you are right, it is just the change of case which is adopted.
Kind of memory-crash on my side... sorry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top