Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 349 Bytes

Open File.md

File metadata and controls

15 lines (10 loc) · 349 Bytes

'Code to open the external file:

Sub open_wb_onedrive() 'Opens an instance of our data workbook

Dim wbFullName

Set objLogExcel = CreateObject("Excel.Application") objLogExcel.Visible = True

'Put here the path to the workbook you want to be opened wbFullName = "C:\Users\data.xlsx" Set openwb = objLogExcel.Workbooks.Open(wbFullName)

End Sub