Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Simple Question

The VBA Editor has the annoying habit of keeping variable names in
its mind even after you've deleted the declarations for those
variables. For example, if you define a module level named
'SELECTION' then delete that variable declaration, VBE will
continue to use 'SELECTION' rather than 'Selection'. It is a bug
in VBE.

You probably declared a variable at some point named 'SELECTION'
and then deleted that declaration. Try declaring a module level
name 'Selection' then deleting the declaration. This should set
VBE back on the right path.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"bwilcox" wrote in message
...
In a single Excel VBA project, the typed word "Selection"
now automatically becomes "SELECTION" rather than
remain "Selection". What did I inadvertently change?



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
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple question- please help! Mark31 Excel Discussion (Misc queries) 5 November 27th 07 02:41 PM
Simple Question - Please Help! Mark31 Charts and Charting in Excel 0 November 26th 07 06:38 PM
Very simple question. Fenneth Excel Discussion (Misc queries) 3 April 19th 06 07:53 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM


All times are GMT +1. The time now is 02:23 PM.

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"