Auto Capitalization annoyance

T

Tom Med

I have a utility that exports VBA code and checks it into source
control. However VBA capitalization seems to automatically change
things. For example

Target.Value ' where target is a range

gets changed to

Target.value

this capitalization or the reverse behaves differently on different
computers. The effect of this is that lots of modules seem to be
changed when it is in fact VBA doing or undoing this capitalization.
Does anyone know what controls this?

Thanks
Tom
 
D

Dave Peterson

Try this:

Insert this line anywhere in your code:
Dim Value
(hit enter)

Then delete that line.

And test it.
 

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

Top