K
Kerry
Hi
I have many many variables within my VBA project, some
may be used within a session, some not. I have to
declare many of the variables as public due to how their
values are being used.
The problem I have is that once the session is finished
and the form is closed I may want to start again,
obviously the variables do not empty. As many of my
variables are public I could restart word but this is not
very user friendly. I could add commands into my session
startup procedure which will empty all the variables but
there are around 50 of them plus arrays.
Do you have any advice on what I can do to resolve this
issue please? I have looked up emptying variables and
have only found information about the terminate event and
not sure whether this is what I need, I would be very
grateful for any advice.
Thank you very much.
Kerry.
I have many many variables within my VBA project, some
may be used within a session, some not. I have to
declare many of the variables as public due to how their
values are being used.
The problem I have is that once the session is finished
and the form is closed I may want to start again,
obviously the variables do not empty. As many of my
variables are public I could restart word but this is not
very user friendly. I could add commands into my session
startup procedure which will empty all the variables but
there are around 50 of them plus arrays.
Do you have any advice on what I can do to resolve this
issue please? I have looked up emptying variables and
have only found information about the terminate event and
not sure whether this is what I need, I would be very
grateful for any advice.
Thank you very much.
Kerry.