oWS.PageSetup.PrintArea
Sub getArea()
Dim oWS As Worksheet
Dim r As Range
Set oWS = ActiveSheet
Set r = Range(oWS.PageSetup.PrintArea)
a = r.Cells(1).Row
b = r.Cells(1).Column
c = r.Cells(r.Cells.Count).Row
d = r.Cells(r.Cells.Count).Column
MsgBox a & " " & b
MsgBox c & " " & d
End Sub
markierte Zeilen auslesen
morpheus__85 05.07.2007 - 19 Hits - 3 Antworten
Excel, Zeilen beim Autostart automatisch über einen Wert in einer Spalte löschen
torsten110 09.11.2007 - 109 Hits - 4 Antworten
Excel VBA: Datei speichern, Excel beenden und Windows herunterfahren
snailhouse 15.11.2007 - 476 Hits - 1 Antwort
Excel VBA
drphilgonzo 17.01.2008 - 33 Hits - 1 Antwort
Excel VBA: Modul per Makro importieren in geschütztes VBA-Projekt (Passwort bekannt)
snailhouse 29.10.2008 - 75 Hits - 4 Antworten