

'Set the Top Row, including its merged cells as the Table's 'Check if there are merged cells in the Top Row, and remember

'Include the region surrounding the Range as well 'Use the Active cell, if the user did not specify a range Optional ByVal ContentZebraTint As Double = 0) Optional ByVal ContentFillColor As XlRgbColor = xlNone, _ Optional ByVal ContentFontColor As XlRgbColor = rgbBlack, _ Optional ByVal HeaderFillColor As XlRgbColor = xlNone, _ Optional ByVal HeaderFontColor As XlRgbColor = rgbBlack, _ Optional ByVal HeaderFontBold As Boolean = False, _ Sub FormatTableRowHeadings(Optional ByRef WhichRange As Range, _
#Macro to change the format of a date in the header of excel for mac code
Here is the Code Format tables that have headers on top

You can also link an Excel Table to your PowerPivot Model. In addition to that, you can use structured references that make your formulas tractable without having to name each range. It automatically “includes” new data you add to your spreadsheets, it automatically drags down formulas for you, it automatically formats the tables for you. It surprises me that it is not used as often as it should. Excel Tables make analyzing data, a breeze.
