Forum Discussion
JorgeGBS
Jan 26, 2023Copper Contributor
Execute a macro with note.vbs
Hello,
I want to execute a macro using a notepad.vbs, I already have the notepad.vbs but the code open the excel even though it's open
dim objExcel
Set objExcel = CreateObject("Excel.Application")
objExcel.Application.Run "'file_path'!macro_name"
objExcel.Visible = false
No RepliesBe the first to reply