Can the Excel 365 stock quote disclaimer message be defeated?

DigitalCyclist

New Member
Joined
Dec 22, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
When opening a workbook that uses the Excel 365 stock quote function, the message bar pops up with "DISCLAIMER: Financial market information…"

Is there a way to defeat this message from popping up, either through settings or a VBA-set attribute?

Note: the protected content message settings in trust center options have no effect on this.
Thanks!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Welcome to the MrExcel Message Board!

It looks like the disclaimer message is working as designed for the Stock data type and related functions according to some discussion in the Microsoft community forums.
However, there is a suggestion about it that you can vote for in the Excel UserVoice.
 
Upvote 0
Is that "warning banner" on the Excel sheet a defined object? I've had no success in trying to determine whether it is or not. If it is, then perhaps it can be programmatically made to disappear if present?

(I did see the thread in the Microsoft community forum and I did add my vote to it.)
 

Attachments

  • disclaimer banner.jpg
    disclaimer banner.jpg
    21.5 KB · Views: 21
Upvote 0
It is surely an object, but I don't think it is an object that is exposed in the Excel object model that is accessible through VBA.

On the other side, it should be possible to access the controls in an external application window by using the Windows API (since everything is a window in Windows OS, the Windows API can access all windows that you can acquire the window handle (hWnd). I haven't been practicing Windows platform development for a while, so I am not sure what it would require even it might be possible.
 
Upvote 0
It is surely an object, but I don't think it is an object that is exposed in the Excel object model that is accessible through VBA.

On the other side, it should be possible to access the controls in an external application window by using the Windows API (since everything is a window in Windows OS, the Windows API can access all windows that you can acquire the window handle (hWnd). I haven't been practicing Windows platform development for a while, so I am not sure what it would require even it might be possible.
Yes, for sure it can be done by going through the Windows API and using mouse controls. Somehow that just doesn't seem worth the effort. I also deal with a hands-free environment and can embed in my VBA code a call out to the Dragon software to click on the banner and close it. Again though, doesn't seem worth the effort. Oh well. Thanks for the suggestion.
 
Upvote 0

Forum statistics

Threads
1,215,044
Messages
6,122,827
Members
449,096
Latest member
Erald

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top