DKNP
8 years agoOccasional Contributor
Excel - UpdateLinks := causing syntax error
Hi
Possible silly question time.
I have several spreadsheets which contain links to cells in other spreadsheets. I need these links to be updated while a test is running, however whenever i open the workbook using the following i get a syntax error at the :=
Dim objWorkBook Set objWorkBook = objExcel.Workbooks.Open(strWorkBookName, Updatelinks:=True)
I have tried replacing the := with just = and while the syntax error is resolved it doesn't update the link...
Does anyone have a working solution to get around the := causing a syntax problem.
Many thanks