welshgasman
Well-known Member
- Joined
- May 25, 2013
- Messages
- 1,402
- Office Version
- 2019
- 2007
- Platform
- Windows
Hi all,
From another forum I have spotted a line of code
Now I was led to believe that if you create an object, you should set it to Nothing at the end of the routine.?
However that was always after something like
Does Excel clear up after itself if one uses the first method.?
TIA
From another forum I have spotted a line of code
Code:
With CreateObject("VBScript.RegExp")
Now I was led to believe that if you create an object, you should set it to Nothing at the end of the routine.?
However that was always after something like
Code:
Set objVBSR = CreateObject("VBScript.RegExp")
Does Excel clear up after itself if one uses the first method.?
TIA