I am trying to use vba from excel to open, refresh & close a BO report. I have managed the open & refresh part, however I am stuck on the closing part.
I have tried using:
Application.CmdBars(2).Controls("&File").Controls("E&xit").execute
Is there another way of achieving this, e.g
Boobj.application.close
In addition, when closing it asks whether I want to save the file, which I don't as it is read only. Is this overcome simply by turning off the alerts?
thanks
Cage
I have tried using:
Application.CmdBars(2).Controls("&File").Controls("E&xit").execute
Is there another way of achieving this, e.g
Boobj.application.close
In addition, when closing it asks whether I want to save the file, which I don't as it is read only. Is this overcome simply by turning off the alerts?
thanks
Cage