Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
DG DG is offline
external usenet poster
 
Posts: 46
Default Reset variables

Is there a command to reset/clear all variables and arrays?

DG


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Reset variables

Not strings, long etc., but they do go out of scope which clears them.
Arrays are cleared with Erase

Erase myArray

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"DG" wrote in message
...
Is there a command to reset/clear all variables and arrays?

DG




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Reset variables

Whilst I would not recommend it, "End" resets all variables values etc.
Read the Help on it and make sure you really need to use it, which I doubt.

NickHK

"DG" wrote in message
...
Is there a command to reset/clear all variables and arrays?

DG




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
Not at all clear on use of variables and/or object variables JMay-Rke Excel Discussion (Misc queries) 11 July 4th 08 06:36 PM
reset to zero baldyheed Excel Worksheet Functions 3 October 2nd 05 03:30 AM
Excel bug, variables reset? RB Smissaert Excel Programming 3 July 31st 04 03:19 PM
Reset Variables Otto Moehrbach[_6_] Excel Programming 0 July 8th 04 08:50 PM
Glolbal Variables Reset when using OleObjects Rock Excel Programming 11 May 31st 04 03:00 AM


All times are GMT +1. The time now is 01:44 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"