Associate
- Joined
- 23 Apr 2007
- Posts
- 1,782
- Location
- Cardiff-ish, Wales
Hi guys and gals,
Any VBA gurus out there?
I'm trying to get some code working that will go through each sheet and turn off the scrollbars etc. It's intended to be part of some code that will get a dashboard ready for a slideshow and I want to maximise the real estate of the charts on the screen. Anyway, I'm getting a "Object doesn't support this property or method" message. What have I done wrong?
Thanks in advance,
Jed.
Any VBA gurus out there?
I'm trying to get some code working that will go through each sheet and turn off the scrollbars etc. It's intended to be part of some code that will get a dashboard ready for a slideshow and I want to maximise the real estate of the charts on the screen. Anyway, I'm getting a "Object doesn't support this property or method" message. What have I done wrong?
Thanks in advance,
Jed.
Code:
Sub ShowMenus()
Sheets("Leads Today").Select
ActiveWindow.DisplayScrollBars = True
ActiveWindow.DisplayFormulaBar = True
ActiveWindow.DisplayStatusBar = True
ActiveWindow.DisplayHeadings = True
Sheets("Order Intake Today").Select
ActiveWindow.DisplayScrollBars = True
ActiveWindow.DisplayFormulaBar = True
ActiveWindow.DisplayStatusBar = True
ActiveWindow.DisplayHeadings = True
Sheets("Leads Month").Select
ActiveWindow.DisplayScrollBars = True
ActiveWindow.DisplayFormulaBar = True
ActiveWindow.DisplayStatusBar = True
ActiveWindow.DisplayHeadings = True
Sheets("Order Intake Month").Select
ActiveWindow.DisplayScrollBars = True
ActiveWindow.DisplayFormulaBar = True
ActiveWindow.DisplayStatusBar = True
ActiveWindow.DisplayHeadings = True
Sheets("Leads Today").Select
End Sub