Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Fujita Tanaka   on Nov 18 In MS Office Category.

  
Question Answered By: Marina Smith   on Nov 18

To create a variable  with longer life, put it outside the subroutine (i.e.
at the top of the module). It will then live as long as the module does -
which for worksheet and normal modules is until you close the workbook.

Public and private  only control the visibility of the item, not its life.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Retain Array Variable data Or get search suggestion and latest updates.


Tagged: