excel - Close userform using myForm.Hide or Unload Me -
before start let me give background. working on vba project excel , computer using has limited resources (and have been asked light possible fast execution time). in project open multiple userform @ different times, apply filters on sheet example.
as said resources limited , want know if frmfilters.hide
enough close userform or if there better way ?
i've read about unload me
i'm not sure how it's working because i'll apply filters form , need keep them once form closed until user totally close excel file.
is there situation unload me
better frmfilters.hide
?
regards, teasel
i found interesting answer question thought useful post here.
unload me
unload me
removes form memory , stop application if on main form of project. every modification did in form lost.
hide
myform.hide
only hide form. if on main form of application, not end program (the debug mode still running example). every modification in form kept next time show form.
which 1 use?
depends of situation believe. in project, form made open/close multiple times chose hide avoid having allow memory form every time.
wiki
Comments
Post a Comment