Excel VBA - Show and Hide the Password Using a Simple Macro

Опубликовано: 23 Март 2026
на канале: The World Of Algorithms
2,624
like

💡 Source Code

Private Sub CheckBox1_Click()
If CheckBox1.Value = 0 Then
TextBox1.PasswordChar = Empty
CheckBox1.Caption = "Hide password"
Image1.Visible = -1
Image2.Visible = 0
Else:
TextBox1.PasswordChar = "*"
CheckBox1.Caption = "Show password"
Image1.Visible = 0
Image2.Visible = -1
End If
End Sub

------------------------------------------------------------------------------------------
Buy a Cofee ☕ for theworldofalgorithms: https://ko-fi.com/theworldofalgorithms

🥰Thank you for the donation. I am deeply grateful for your help!🥰
------------------------------------------------------------------------------------------

#excel
#msexcel
#msexceltutorial
#msexcelcourse
#vba
#vbatutorial
#excelvba
#fulltutorial
#excelvbatutorial
#microsoftexceltutorial
#tutorial
#exceltutorial
#advancedexcel
#advancedexceltraining
#tutor
#exceltutor
#exceltutoring
#exceltutoringonline
#onlineexceltutoring
#algorithm
#algorithms
#programming
#program
#script
#vbamacro
#vbamacros
#usingmacro
#veryuseful
#useful
#veryusefulmacro
#freeeducation
#freeprogramming
#freelancer
#excelfreelancer
#vbafreelancer
#freelanceservices
#showpassword
#hidepassword
#showandhidepssword
#password
#checkbox
#vbacheckbox
#excelvbacheckbox
#excelcheckbox
#checkboxes
#textbox
#textboxexcel
#vbatextbox
#exceltextbox
#excelvbatextbox
#excelvbatextbox