Design a metro style dashboard in Excel

Yesterday I presented at SQL Saturday Copenhagen #196 how to create a Metro Style Dashboard using Microsoft Excel 2013 and PowerPivot.

I made this using standard Excel functionality and with no use of VBA, and heavy use of the CUBE functions to retrieve values from the datamodel.

As promised I have uploaded a copy of the model to Skydrive – Link

My presentation can be downloaded from Link

The macro to hide the Excel look is as follows – place it in your Personal Macro Workbook

Sub TurnExcelOff(bolState As Boolean)

Application.DisplayFormulaBar = bolState

Application.DisplayStatusBar = bolState

With ActiveWindow

.DisplayVerticalScrollBar = bolState

.DisplayWorkbookTabs = bolState

End With

With ActiveWindow

.DisplayGridlines = bolState

.DisplayHeadings = bolState

End With

End Sub

Sub ExcelOn()

TurnExcelOff True

End Sub

Sub ExcelOff()

TurnExcelOff False

End Sub

If you have any questions please feel free to comment on this post and I will try to answer.

PS – Thanks to all the people that arranged a great SQL Saturday event #196 in Copenhagen.

3 thoughts on “Design a metro style dashboard in Excel

  1. Thanks for a great presentation, playing around with the demo sheet as i write this.

    Is there a way to also remove / hide the excel ribbon in the macro?

  2. Pingback: SQLSaturday Copenhagen re-cap | T-SQL.dk

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s