This bit refreshes the docuemnt on Open. Works fine by itself.
Private Sub Document_Open()
marker = 21
Application.Documents.Item(1).Refresh
marker = 22
end sub
When I add some code to execute AfterRefresh, in order to export the newly refreshed data, I hit the error handler...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.