Live-Forum - Die aktuellen Beiträge
Datum
Titel
28.03.2024 21:12:36
28.03.2024 18:31:49
Anzeige
Archiv - Navigation
224to228
Aktuelles Verzeichnis
Verzeichnis Index
Übersicht Verzeichnisse
Vorheriger Thread
Rückwärts Blättern
Nächster Thread
Vorwärts blättern
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender
224to228
224to228
Aktuelles Verzeichnis
Verzeichnis Index
Verzeichnis Index
Übersicht Verzeichnisse
Inhaltsverzeichnis

sheet protection

sheet protection
26.02.2003 16:11:54
Henrik Meier Jørgensen
Hallo my name is Henrik from Denmark
I read talk and understand German but im not good at writing it...
In a Excel VBA project I want to set protection with password "hmj" to a sheet named "Home" from a Form in the same project how can I do that ?
Hope you can help me ! you can ansver in German....

2
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Datum
Anwender
Anzeige
Re: sheet protection
26.02.2003 16:24:51
Jürgen

Hallo Henrik,

vielleicht geht es so:

Sheets("Home").Protect "hmj" 'Blattschutz setzen
Sheets("Home").Unprotect "hmj" 'Blattschutz aufheben

Gruß
Jürgen

Re: sheet protection
26.02.2003 16:26:47
Felix

Hi henrik,

here is the code for Excel

here you protect the active sheet:
ActiveSheet.Protect Password:="hmj"

and here you cancel the protect in the active sheet:
ActiveSheet.unProtect Password:="hmj"

I hope I could help you.

Felix


Beliebteste Forumthreads (12 Monate)

Anzeige

Beliebteste Forumthreads (12 Monate)

Anzeige
Anzeige
Anzeige