Jan 26 2023 08:55 AM
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