LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default VBA - variable declaration

Hi,

I have a few macros that are being edited.
My question - is there a way to tell if a declared variable
has been used in the "sub Marcro()" or if it was just declared (i.e. dim
Variable3 as double) and not used.

This would be useful because it would allow me to more easily delete unused
variables and eliminate clutter.

Thanks
 
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
type declaration characters integreat Excel Discussion (Misc queries) 3 July 18th 06 04:31 PM
type declaration characters integreat Excel Discussion (Misc queries) 1 July 17th 06 10:02 PM
Macro / Compile Error / Duplicate Declaration carl Excel Worksheet Functions 1 June 29th 05 08:55 PM
Last rites declaration of Ioannes Paulus PP. II (Karol Wojtyla) Ioannes Paulus PP. II (Karol Wojtyla) Charts and Charting in Excel 0 April 4th 05 01:49 AM
Use DocProps in a change declaration chris w Excel Worksheet Functions 7 January 21st 05 11:35 PM


All times are GMT +1. The time now is 02:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"