cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to delete all previous variables without writing variables in every clear statement?

SA_10621772
4-Participant

How to delete all previous variables without writing variables in every clear statement?

Screenshot 2023-03-27 133838.png

Screenshot 2023-03-27 133911.png

clear(all) ?

 

 

 

 

2 REPLIES 2

There was a similar question before:


@SA_10621772 wrote:

 

 

clear(all) ?

 

 

 

 


Unfortunately there is no clear(*ALL*) or the like.

If you have to start from scratch, you either have to list all variables used so far in the clear() command (at the risk of missing one or  two) or you have to start with a new worksheet.
If the latter is not an option because you need to use the functions defined so far, you could separate the function in their own sheet and use this sheet as an include file in the sheets where you want to play with different data.

clear(*ALL*) might be worth an entry in the "ideas" section of this forum.

Top Tags