codestack icon indicating copy to clipboard operation
codestack copied to clipboard

Update Macro.vba

Open OldFcuk opened this issue 3 years ago • 2 comments

OldFcuk avatar Jun 20 '22 20:06 OldFcuk

Thank you. Could you please clarify why you want to move the swConfCustPrpMgr variable declaration outside of the loop scope? I prefer having this declared within the scope it is used as it is never going outside of for-loop.

artem1t avatar Jun 22 '22 21:06 artem1t

Hi. I was thinking why not declare it outside of loop like Dim vConfNames is.

Inside loop oneswConfCustPrpMgr is getting redefined with every cycle. Or is it needed especially so?

OldFcuk avatar Jun 23 '22 22:06 OldFcuk