excel/vba message

Please post any questions regarding the program here.

Moderator: 2020vision

excel/vba message

Postby andrej » Sat Apr 16, 2011 11:08 am

Hi everybody, I have a problem that I cannot solve myself. When I am trying to save my bot that contains vba code I get a message that I have never seen before.

Privacy warning: This document contains macros, ActiveX controls, XML expansion pack information, or Web contents. These may include personal information that cannot be removed by the document inspector.

this would be just fine but the preblem is that this message pops up even when running the bot (approx once in 10 minutes) and stops the VBA code from running until I click OK or cancel. It never happened to me before (all the other bots I have been running did not force this message to popup)

does anybody know how to get rid of this?

thank you
andrej
 
Posts: 42
Joined: Tue Aug 24, 2010 6:59 am
Location: SLOVAKIA

Postby osknows » Sat Apr 16, 2011 11:19 am

Perhaps this may work in Excel 2007 & 2010

Options > Trust Center > Privacy Options > Document-specific settings > Deselect "Remove personal information from file properties on save"

or possibly in your VBA code enter

Application.Displayalerts = FALSE at the start of your code and
Application.Displayalerts = TRUE at the end
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby andrej » Sat Apr 16, 2011 11:55 am

Thank you osknows, puttin Application.EnableEvents = false/true did not work
(I have put it in every sub begining/end) but the trust center setting seem to work.
once again thank you
andrej
 
Posts: 42
Joined: Tue Aug 24, 2010 6:59 am
Location: SLOVAKIA

Postby osknows » Sat Apr 16, 2011 12:33 pm

andrej wrote:puttin Application.EnableEvents = false/true did not work
(I have put it in every sub begining/end)once again thank you


Not Application.EnableEvents = false/true

Application.Displayalerts = false/true
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby andrej » Sat Apr 16, 2011 1:27 pm

I have actually used Application.Displayalerts = false/true
I do not know where I have the .enableevents copied from. sorry
andrej
 
Posts: 42
Joined: Tue Aug 24, 2010 6:59 am
Location: SLOVAKIA


Return to Help

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 56 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.