Simpatie.ro - matrimoniale
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.
Nou pe simpatie:
monaahmed2012 la Simpatie.ro
Femeie
25 ani
Calarasi
cauta Barbat
25 - 48 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEl] Hide Activesheet without Having to Name It (VBA)

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 964
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:
https://www.mrexcel.com/board/threads/d ... eet.66760/


 
   

Topicuri similare

Pagini: 1  
Mergi la