This is the code I am using. It opens the excel file just fine but the prompt to update still shows up and I need the code to update the file as well. Thanks in advance!
Bryan
Dim xl As Object
Dim xlWrkBk As Object
Dim xlSht As Object
Set xl = CreateObject("Excel.Application")
xl.Visible = True 'Control whether or not Excel should be visible to
'the user or not.
Set xlWrkBk = xl.Workbooks.Open("\\wg07\COMP\Comp Share Folder\DASHBOARDS\Offers_Dashboard.xlsx")
xl.Workbooks.Refresh
Bryan
Dim xl As Object
Dim xlWrkBk As Object
Dim xlSht As Object
Set xl = CreateObject("Excel.Application")
xl.Visible = True 'Control whether or not Excel should be visible to
'the user or not.
Set xlWrkBk = xl.Workbooks.Open("\\wg07\COMP\Comp Share Folder\DASHBOARDS\Offers_Dashboard.xlsx")
xl.Workbooks.Refresh