here is the macro, any help would be very much appreciated
'
' Keyboard Shortcut: Ctrl+i
'
Columns("A:Y").Select
Columns("A:Y").EntireColumn.AutoFit
Columns("B:B").Select
Selection.ColumnWidth = 10.57
Columns("E:F").Select
Selection.Font.Bold = True
Selection.Style = "Comma"
Selection.NumberFormat = "_-* #,##0.0_-;-* #,##0.0_-;_-* ""-""??_-;_-@_-"
Selection.NumberFormat = "_-* #,##0_-;-* #,##0_-;_-* ""-""??_-;_-@_-"
Selection.ColumnWidth = 11
Columns("E:E").Select
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
With Selection.Font
.ThemeColor = xlThemeColorAccent5
.TintAndShade = -0.249977111117893
End With
Columns("F:F").Select
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
Columns("I:I").Select
Selection.ColumnWidth = 4.14
Selection.ColumnWidth = 4.86
Columns("G:J").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Columns("L:M").Select
Selection.ColumnWidth = 6.57
Selection.ColumnWidth = 5.57
Columns("N:O").Select
Selection.ColumnWidth = 9.43
Columns("N:N").Select
Selection.Style = "Comma"
Selection.NumberFormat = "_-* #,##0.0_-;-* #,##0.0_-;_-* ""-""??_-;_-@_-"
Columns("N:O").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Columns("T:T").Select
Selection.Style = "Comma"
Selection.NumberFormat = "_-* #,##0.0_-;-* #,##0.0_-;_-* ""-""??_-;_-@_-"
Selection.NumberFormat = "_-* #,##0_-;-* #,##0_-;_-* ""-""??_-;_-@_-"
Selection.ColumnWidth = 7.86
Range("Table2[[#Headers],[Cont Date]]").Select
Selection.End(xlDown).Select
Range(Selection, Selection.End(xlUp)).Select
Selection.TextToColumns Destination:=Range("Table2[[#Headers],[Cont Date]]") _
, DataType:=xlFixedWidth, FieldInfo:=Array(0, 3), TrailingMinusNumbers:= _
True
The Bolded line has the problem
Here is a snagit of the same 04.13.2016-22.59.22 - Eamonn999's library
Thank you in advance for any guidence on this
'
' Keyboard Shortcut: Ctrl+i
'
Columns("A:Y").Select
Columns("A:Y").EntireColumn.AutoFit
Columns("B:B").Select
Selection.ColumnWidth = 10.57
Columns("E:F").Select
Selection.Font.Bold = True
Selection.Style = "Comma"
Selection.NumberFormat = "_-* #,##0.0_-;-* #,##0.0_-;_-* ""-""??_-;_-@_-"
Selection.NumberFormat = "_-* #,##0_-;-* #,##0_-;_-* ""-""??_-;_-@_-"
Selection.ColumnWidth = 11
Columns("E:E").Select
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
With Selection.Font
.ThemeColor = xlThemeColorAccent5
.TintAndShade = -0.249977111117893
End With
Columns("F:F").Select
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
Columns("I:I").Select
Selection.ColumnWidth = 4.14
Selection.ColumnWidth = 4.86
Columns("G:J").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Columns("L:M").Select
Selection.ColumnWidth = 6.57
Selection.ColumnWidth = 5.57
Columns("N:O").Select
Selection.ColumnWidth = 9.43
Columns("N:N").Select
Selection.Style = "Comma"
Selection.NumberFormat = "_-* #,##0.0_-;-* #,##0.0_-;_-* ""-""??_-;_-@_-"
Columns("N:O").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Columns("T:T").Select
Selection.Style = "Comma"
Selection.NumberFormat = "_-* #,##0.0_-;-* #,##0.0_-;_-* ""-""??_-;_-@_-"
Selection.NumberFormat = "_-* #,##0_-;-* #,##0_-;_-* ""-""??_-;_-@_-"
Selection.ColumnWidth = 7.86
Range("Table2[[#Headers],[Cont Date]]").Select
Selection.End(xlDown).Select
Range(Selection, Selection.End(xlUp)).Select
Selection.TextToColumns Destination:=Range("Table2[[#Headers],[Cont Date]]") _
, DataType:=xlFixedWidth, FieldInfo:=Array(0, 3), TrailingMinusNumbers:= _
True
The Bolded line has the problem
Here is a snagit of the same 04.13.2016-22.59.22 - Eamonn999's library
Thank you in advance for any guidence on this