here are a couple of responses to what you have asked:
Originally Posted by
feidifeidi
for the SHELL of windows that you suggested is it very difficult?
see the following article to guide you on how to use that function:
https://docs.microsoft.com/en-us/off...shell-function
SHELL runs programs (executables), and you can either specify the full directory path of the program you want to run, or in some cases, you can simply type in the name of the file with the extension. so, for excel, you can actually type this into the VBA code editor:
and it will open excel for you. a new instance if excel is already open. and if it is not open, excel will open for the first time right in front of you.
Originally Posted by
feidifeidi
if the first one which is the open the excel app how would it be done with VBA? sorry, i really have very little VBA skill. how do i target workbook with code?
if you want to open a new workbook when running code from inside an excel application (a workbook that is already open), you would write this:
does this help?
Bookmarks