fully patched office 365 excel losing variables after inactivity

RAYLWARD102

Well-known Member
Joined
May 27, 2010
Messages
529
Noticing some issues lately; wondering if anyone else noticed.
Previously, I could load a user form project, leave it up and running overnight (forget to close it) and arrive back the next day and still be able to use the form and it's controls. Now what I'm noticing, is when a period of time has passed (with user form opened, and system is inactive; not sleeping), I try to use the form upon returning to my desk and am greeted with errors when the user form tries to access array variables that were created when the user form was first opened. The errors I receive, indicate the arrays are empty when looking in debug mode.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Noticing some issues lately; wondering if anyone else noticed.
Previously, I could load a user form project, leave it up and running overnight (forget to close it) and arrive back the next day and still be able to use the form and it's controls. Now what I'm noticing, is when a period of time has passed (with user form opened, and system is inactive; not sleeping), I try to use the form upon returning to my desk and am greeted with errors when the user form tries to access array variables that were created when the user form was first opened. The errors I receive, indicate the arrays are empty when looking in debug mode.

sounds odd, can you post the code?
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,581
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top