RefreshSheet macro is refreshing the whole book
Posted: Thu Oct 20, 2022 3:48 pm
Hi there,
I've been experimenting with refreshing PAx data using VBA and I was pointed to this:
But it's refreshing every sheet in the book, rather than just the active sheet as per the PAx documentation.
Any help appreciated!
I've been experimenting with refreshing PAx data using VBA and I was pointed to this:
Code: Select all
Sub RefreshSheet()
Application.COMAddIns("CognosOffice12.Connect").Object.AutomationServer.Application("COR", "1.1").RefreshSheet
End Sub
Any help appreciated!