Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing BO without saving

Status
Not open for further replies.

Cage

MIS
Aug 25, 2002
50
0
0
CA
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 worked it out. Application.quit seems to work.

However does anyone know if it is possible to turn screen refreshing, e.g like the excel vba application.screenupdating = false
 
There is no screenupdating property in BOBJ - you may get some joy from:

Application.interactive = false

however

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top