hilfe, brauche makro 254 mal!
13.07.2005 22:52:03
Dennis
ich habe hier folgendes Makro mit dem Rekorder aufgezeichnet:
Sub blauf64dko1()
' blauf64dko1 Makro
' Makro am 13.07.2005 von densankau4711 aufgezeichnet
Range("BD3:BO3").Select
Selection.Copy
Sheets("Laufkarte").Select
Range("A1:L1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
With Selection.Font
.Name = "Arial"
.Size = 26
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ColorIndex = xlAutomatic
End With
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
End With
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
End With
Range("A1:L3").Select
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
With Selection.Borders(xlEdgeRight)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Sheets("64-Doppel-KO").Select
Range("BR3").Select
With Selection.Interior
.ColorIndex = 15
.Pattern = xlSolid
End With
Range("BI4").Select
End Sub
Das ist makro1
beim 2ten makro soll dann aus ("BD3:BO3") ("BD4:BO4") werden,
aus BR3 soll BR4 werden & aus BI4 soll BI5 werden. usw. bei den nächsten makros.
Nur A1:L1 und A1:L3 soll immer so bleiben.
Muss ich nun wirklich alles 254x schreiben (oder kopieren und ändern),
oder giibt es da eine einfachere Möglichkeit?
Mit freundlichen Gruss, Dennis