Dashboard and hiding Ribbon etc

Graeme155

New Member
Joined
Jan 17, 2011
Messages
32
I have written a few Dashboards and want to remove the 'extra' excel pieces. Have remove the Ribbon, Formula Bar, Headings, Message Bar and Gridlines - but these seem to only be removed on my computer.

Can anyone guide me on how to completely remove all the excel bits, including top and bottom bars?

Tar
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Code:
Sub ToggleVisibility()
    
    Dim blnShow As Boolean
    blnShow = Application.DisplayFullScreen
    
    With Application
        .DisplayFullScreen = Not blnShow
        .DisplayStatusBar = blnShow
    End With
    
    With ActiveWindow
        .DisplayVerticalScrollBar = blnShow
        .DisplayHorizontalScrollBar = blnShow
        .DisplayWorkbookTabs = blnShow
        .DisplayRuler = blnShow
        .DisplayGridlines = blnShow
        .DisplayHeadings = blnShow
    End With
    
End Sub
 
Upvote 0
Thanks but I assume this is a Macro? Just I haven't got as far as teaching myself Macros yet.

Might be the time to start - can you confirm how I insert this?

Graeme
 
Upvote 0
In Excel, hit ALF+F11

This will take you to the Visual Basic Editor. In the VBE, open the project explorer (CTRL+R) if it is not already open. You would see a list of projects (pertaining to your workbook [or open workbooks]). Right-click on your workbook and insert a module. In the new module paste the above code.

There are various events that you can use to call this macro depending on how you want to use it. Let me know if that's the case.

But in case you want to test run this, close the VBE, and hit ALT+F8. You can see the name of the macro in the list. Select and Run. :)
 
Upvote 0
My advice to you would be...don't.

I've developed some fairly advanced solutions for some fairly sophisticated customers and I know one thing. I don't try and control their environment. Rather than fight them, work with with your customers and their respective environments.
I have written a few Dashboards and want to remove the 'extra' excel pieces. Have remove the Ribbon, Formula Bar, Headings, Message Bar and Gridlines - but these seem to only be removed on my computer.

Can anyone guide me on how to completely remove all the excel bits, including top and bottom bars?

Tar
 
Upvote 0
I have a Dashboard that consists of two sheets. I have added a Hyperlink from each sheet to the other. So all the client has to do is view the sheet and close it, without saving.

Thus I do not have any need to bottom or top bars and feel it makes it more professional without these.

I hear what Tusham is saving but wouldn't it be possible to change global settings when opening and reseting them when closing ??

Graeme
 
Upvote 0
If the dashboard is not interactive merely a presentation then why not present it on Powerpoint?
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,262
Members
452,627
Latest member
KitkatToby

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