AnsweredAssumed Answered

open excel file in processbook

Question asked by Jaya on Jan 14, 2017
Latest reply on Jan 19, 2017 by Jaya

The below code does not work in PB and throws up an error message 'Unknown variable' with Workbooks highlighted. Any thoughts? Thanks

 

Dim wkbk, wksh As Object

Set wkbk = Workbooks.Open(Filename:="Datafilename PI.xlsx")

.......etcetra

Outcomes