Hi all,
I am currently in the process of trying to create a macro to run from my current workbook (file1) and be able to open an excel file from SharePoint (file2) to refresh and update using the data from (file1).
The only problem I am running into so far is when opening (file2) it is opened up as a "Read Only" requires the prompts message "Enable Editing" to be enabled before edits can be made to (file2)
I am looking for a way to be able to automatically click enable editing when opening (file2)
Below I have included the code I currently have running to open (file2) from (file1)
Workbooks.Open _
Filename:="C:\Desktop\Automation Project\In_Stock.xlsx", _
UpdateLinks:=3, ReadOnly:=True, Notify:=False
Any help is much appreciated.
I am currently in the process of trying to create a macro to run from my current workbook (file1) and be able to open an excel file from SharePoint (file2) to refresh and update using the data from (file1).
The only problem I am running into so far is when opening (file2) it is opened up as a "Read Only" requires the prompts message "Enable Editing" to be enabled before edits can be made to (file2)
I am looking for a way to be able to automatically click enable editing when opening (file2)
Below I have included the code I currently have running to open (file2) from (file1)
Workbooks.Open _
Filename:="C:\Desktop\Automation Project\In_Stock.xlsx", _
UpdateLinks:=3, ReadOnly:=True, Notify:=False
Any help is much appreciated.