Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Windows 2000/Excel 2000
I am automating some reports in Excel. These reports access data from a data cube located on a server. We have a third party .xla that manages the process. I have several files I am updating, but the third party .xla has a 'message' box that pops up at the completion of one of the tasks that requires the selection of 'OK' in order to continue. I would like to either disable the feature, or , use code to select 'OK' for any messages that require the selection of 'OK' I have tried With Application .DisplayAlerts = False End With but of course that does not work for this type of message box. Thanks in advance... - - TB - - |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That messagebox was hardcoded in the code of the add-in you mentioned. You won't be able to disable that. You may contact the author of that add-in to change that or if you have access to the source code of that add-in, you may ask someone to change that for you. It should be very simple.
|
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I tend to agree with Edwin, but you may want to take a look at this
link. I haven't tried PTFB with Excel message boxes, but I've used it successfully with other applications. http://www.bobos.demon.co.uk/par/PTFB.htm HTH Paul -------------------------------------------------------------------------------------------------------------- Be advised to back up your WorkBook before attempting to make changes. -------------------------------------------------------------------------------------------------------------- Windows 2000/Excel 2000 I am automating some reports in Excel. These reports access data from a data cube located on a server. We have a third party .xla that manages the process. I have several files I am updating, but the third party .xla has a 'message' box that pops up at the completion of one of the tasks that requires the selection of 'OK' in order to continue. I would like to either disable the feature, or , use code to select 'OK' for any messages that require the selection of 'OK' I have tried With Application .DisplayAlerts = False End With but of course that does not work for this type of message box. Thanks in advance... - - TB - - |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the follow-up. I figured the message box would
be 'hard coded', but thought worth asking.... As for your PTFB suggestion, it worked like a charm! I'm not wild about going outside of VBA for this function, but it solved the issue. Thanks. -----Original Message----- I tend to agree with Edwin, but you may want to take a look at this link. I haven't tried PTFB with Excel message boxes, but I've used it successfully with other applications. http://www.bobos.demon.co.uk/par/PTFB.htm HTH Paul ---------------------------------------------------------- ---------------------------------------------------- Be advised to back up your WorkBook before attempting to make changes. ---------------------------------------------------------- ---------------------------------------------------- Windows 2000/Excel 2000 I am automating some reports in Excel. These reports access data from a data cube located on a server. We have a third party .xla that manages the process. I have several files I am updating, but the third party .xla has a 'message' box that pops up at the completion of one of the tasks that requires the selection of 'OK' in order to continue. I would like to either disable the feature, or , use code to select 'OK' for any messages that require the selection of 'OK' I have tried With Application .DisplayAlerts = False End With but of course that does not work for this type of message box. Thanks in advance... - - TB - - . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
Code to conditional format all black after date specified in code? | Excel Discussion (Misc queries) | |||
Drop Down/List w/Code and Definition, only code entered when selec | Excel Worksheet Functions | |||
Convert a Number Code to a Text Code | Excel Discussion (Misc queries) | |||
VBA code delete code but ask for password and unlock VBA protection | Excel Programming |