This is a bit of a problem which is driving me crazy.
I have multiple workbooks linked with hyperlinks, all of which I have applied some VBA to go to Full Screen and hide all toolbars (including the Web Toolbar) when the workbook opens.
This is working fine with the exception of the Web Toolbar which will not hide. I've tried this on Workbook open and on Sheet activate and yet it still keeps coming up.
With Application
.DisplayFullScreen = True
.CommandBars("Web").Visible = False
End With
When I run the code from the VBA window it works. Could someone tell me what I'm doing wrong please?
Thank you.
I have multiple workbooks linked with hyperlinks, all of which I have applied some VBA to go to Full Screen and hide all toolbars (including the Web Toolbar) when the workbook opens.
This is working fine with the exception of the Web Toolbar which will not hide. I've tried this on Workbook open and on Sheet activate and yet it still keeps coming up.
With Application
.DisplayFullScreen = True
.CommandBars("Web").Visible = False
End With
When I run the code from the VBA window it works. Could someone tell me what I'm doing wrong please?
Thank you.