Sub testmac1()
'
' testmac1 Macro
'
'
Rows("1:9").Select
Range("A9").Activate
Selection.Delete Shift:=xlUp
Range("A1").Select
ActiveCell.FormulaR1C1 = "Address"
Range("B1").Select
ActiveCell.FormulaR1C1 = "Name"
Range("C1").Select
ActiveCell.FormulaR1C1 = "Telephone"
Columns("C:C").Select
Selection.ColumnWidth = 10.71
Range("D1").Select
ActiveCell.FormulaR1C1 = "Distance"
Range("E1").Select
ActiveCell.FormulaR1C1 = "Side"
Range("F1").Select
ActiveCell.FormulaR1C1 = "Description"
Range("G1").Select
Selection.UnMerge
Cells.Select
Selection.UnMerge
Selection.Columns.AutoFit
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
Selection.Borders(xlEdgeLeft).LineStyle = xlNone
Selection.Borders(xlEdgeTop).LineStyle = xlNone
Selection.Borders(xlEdgeBottom).LineStyle = xlNone
Selection.Borders(xlEdgeRight).LineStyle = xlNone
Selection.Borders(xlInsideVertical).LineStyle = xlNone
Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
With Selection
.HorizontalAlignment = xlLeft
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Selection.ColumnWidth = 17.43
Columns("H:K").Select
Selection.Delete Shift:=xlToLeft
Range("D2:D108").Select
Selection.Cut
Range("F2").Select
ActiveSheet.Paste
Range("A2:B103").Select
Selection.Cut
Range("D2").Select
ActiveSheet.Paste
Range("C2:C104").Select
Selection.Cut
Range("A2").Select
ActiveSheet.Paste
Range("G2:H104").Select
Selection.Cut
Range("B2").Select
ActiveSheet.Paste
' testmac3 Macro
Range("G2").Select
ActiveCell.FormulaR1C1 = "=RC[-5]&"", ""&R[1]C[-5]"
Range("G2").Select
Selection.Copy
Range("G3:G200").Select
ActiveSheet.Paste
Range("G2:G200").Select
Application.CutCopyMode = False
Selection.Copy
Range("B2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Columns("G:G").Select
Application.CutCopyMode = False
Selection.Delete Shift:=xlToLeft
' testmac4 Macro
Columns("F:F").ColumnWidth = 40.14
Selection.ColumnWidth = 56.86
Range("G2").Select
ActiveCell.FormulaR1C1 = "=RC[-1]&"",""&R[1]C[-1]"
Range("G2").Select
Selection.Copy
Range("G3:G200").Select
ActiveSheet.Paste
Range("G2:G200").Select
Application.CutCopyMode = False
Selection.Copy
Range("F2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Columns("G:G").Select
Application.CutCopyMode = False
Selection.Delete Shift:=xlToLeft
' delete_rows Macro
Range( _
"3:3,5:5,7:7,9:9,11:11,13:13,15:15,17:17,19:19,21:21,23:23,25:25,27:27,29:29,31:31,33:33,35:35,37:37" _
).Select
Range("A37").Activate
ActiveWindow.SmallScroll Down:=36
Union(Range( _
"67:67,69:69,71:71,3:3,5:5,7:7,9:9,11:11,13:13,15:15,17:17,19:19,21:21,23:23,25:25,27:27,29:29,31:31,33:33,35:35,37:37,39:39,41:41,43:43,45:45,47:47,49:49,51:51,53:53,55:55,57:57,59:59" _
), Range("61:61,63:63,65:65")).Select
Range("A71").Activate
ActiveWindow.SmallScroll Down:=30
Union(Range( _
"67:67,69:69,71:71,73:73,75:75,77:77,79:79,81:81,83:83,85:85,87:87,89:89,91:91,93:93,95:95,97:97,99:99,101:101,103:103,105:105,107:107,109:109,111:111,3:3,5:5,7:7,9:9,11:11,13:13,15:15,17:17,19:19" _
), Range( _
"21:21,23:23,25:25,27:27,29:29,31:31,33:33,35:35,37:37,39:39,41:41,43:43,45:45,47:47,49:49,51:51,53:53,55:55,57:57,59:59,61:61,63:63,65:65" _
)).Select
Range("A111").Activate
ActiveWindow.SmallScroll Down:=42
Union(Range( _
"67:67,69:69,71:71,73:73,75:75,77:77,79:79,81:81,83:83,85:85,87:87,89:89,91:91,93:93,95:95,97:97,99:99,101:101,103:103,105:105,107:107,109:109,111:111,113:113,115:115,117:117,119:119,121:121,123:123,125:125,127:127,129:129" _
), Range( _
"131:131,133:133,135:135,137:137,139:139,141:141,143:143,145:145,147:147,149:149,3:3,5:5,7:7,9:9,11:11,13:13,15:15,17:17,19:19,21:21,23:23,25:25,27:27,29:29,31:31,33:33,35:35,37:37,39:39,41:41,43:43,45:45" _
), Range("47:47,49:49,51:51,53:53,55:55,57:57,59:59,61:61,63:63,65:65")).Select
Range("A149").Activate
ActiveWindow.Zoom = 85
ActiveWindow.Zoom = 70
ActiveWindow.Zoom = 55
ActiveWindow.Zoom = 40
ActiveWindow.Zoom = 55
ActiveWindow.Zoom = 70
ActiveWindow.Zoom = 85
ActiveWindow.Zoom = 100
ActiveWindow.SmallScroll Down:=120
Union(Range( _
"67:67,69:69,71:71,73:73,75:75,77:77,79:79,81:81,83:83,85:85,87:87,89:89,91:91,93:93,95:95,97:97,99:99,101:101,103:103,105:105,107:107,109:109,111:111,113:113,115:115,117:117,119:119,121:121,123:123,125:125,127:127,129:129" _
), Range( _
"131:131,133:133,135:135,137:137,139:139,141:141,143:143,145:145,147:147,149:149,151:151,153:153,155:155,157:157,159:159,161:161,163:163,165:165,167:167,169:169,171:171,173:173,175:175,177:177,179:179,181:181,183:183,185:185,187:187,189:189,191:191,193:193" _
), Range( _
"195:195,197:197,199:199,3:3,5:5,7:7,9:9,11:11,13:13,15:15,17:17,19:19,21:21,23:23,25:25,27:27,29:29,31:31,33:33,35:35,37:37,39:39,41:41,43:43,45:45,47:47,49:49,51:51,53:53,55:55,57:57,59:59" _
), Range("61:61,63:63,65:65")).Select
Range("A199").Activate
Selection.Delete Shift:=xlUp
ActiveWindow.SmallScroll Down:=-180
Dim c As Range
Dim rng As Range
For Each c In Intersect(ActiveSheet.UsedRange, Columns("f"))
If c = "," Then
If rng Is Nothing Then Set rng = c.EntireRow
Set rng = Union(rng, c.EntireRow)
End If
Next c
rng.Select
End Sub