Hi, got my code all set up but require a dynamic shell function when calling notepad.
Currently it is as below (which works fine):
Call Shell("notepad C:\Users\Shudarstaran.Neel\Desktop\DummyTest.xml", vbNormalFocus)
I would like it to be dynamic and work like below:
Call Shell ("notepad ActiveSheet.Range("KL3") & ActiveSheet.Range("KL4") & ".xml",vbNormal Focus)
application filepath filename
I'll be using this on multiple codes so the easiest way would be great if anyone knows.
Any pointers?
ShuStar
Currently it is as below (which works fine):
Call Shell("notepad C:\Users\Shudarstaran.Neel\Desktop\DummyTest.xml", vbNormalFocus)
I would like it to be dynamic and work like below:
Call Shell ("notepad ActiveSheet.Range("KL3") & ActiveSheet.Range("KL4") & ".xml",vbNormal Focus)
application filepath filename
I'll be using this on multiple codes so the easiest way would be great if anyone knows.
Any pointers?
ShuStar