Filehost.ro - gazduire fisiere
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:
roxigirl85 la Simpatie.ro
Femeie
25 ani
Bucuresti
cauta Barbat
30 - 46 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 Comments on UserForm Show, Show Comments on Close

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 960
At the end of the UserForm_Initialize macro add the following line to hide comments and markup:

ActiveWindow.View.ShowRevisionsAndComments = False


Add the following macro for showing comments on UserForm close:

Private Sub Userform_QueryClose(Cancel As Integer, CloseMode As Integer)

If CloseMode = 0 Then
    ActiveWindow.View.ShowRevisionsAndComments = True
    Unload Me
Else
End If

End Sub


 
   
Pagini: 1  
Mergi la