Hello,
I am trying to Open downloaded Excel file with Variable name and remove duplicate. In Variable value file path shown, but it is not considered in vbscript.
Can Anyone please help me.
Tried with Below. Want to use Input_Master_File variable to open workbook.
Set objExcel=Createobject("Excel.Application")
Set objwbk=objExcel.Workbooks.Open("Input_Master_Files")
Set objsht = objwbk.worksheets("PO Input")
objExcel.visible=True
objsht.UsedRange.RemoveDuplicates 1,1
objwbk.Save
objwbk.Close
objExcel.Quit