Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
Bianca xxx din Bucuresti
Femeie
25 ani
Bucuresti
cauta Barbat
25 - 43 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [EXCEl] Hide Activesheet without Having to Name It (VBA) Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 739
Been meaning to hide the active sheet when deactivating it, but I had to name the sheet specifically, otherwise the code would hide the sheet that was selected next instead of the activesheet.

But it's as simple as the following code to hide the activesheet:


Private Sub Worksheet_Deactivate()
    Me.Visible = False ' Me refers to the sheet containing this code
End Sub



Source:


pus acum 1 an
   
Pagini: 1  

Mergi la