ich möchte in einem makro abhängig von einer vorherigen menüauswahl jeweils bestimmt blätter kopieren (im weiteren verlauf). Hierfür definiere ich einen "bereich", welcher den quasi den array ersetzen soll... nur so richtig läuft das ganze nicht...
hier meine bisheriger versuch:
If ComparrisonInput = "BUDGET" Then
yContainer = yContainer + 30
blatt1 = "bud cum"
blatt2 = "bud"
Else
blatt1 = "act cum"
blatt2 = "act"
End If
If ContentInput = "act + act cum" Then
Bereich = blatt1 & blatt2
End If
If ContentInput = "act" Then
Bereich = blatt2
End If
If ContentInput = "act cum" Then
Bereich = blatt1
End If
Sheets(Bereich).Select
besten dank im vorhinein,
Christian