Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Handmade Character Soft Toys
anil1961
Updated:
Yesterday at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Sunday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
ms excel sheet wise permission
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="asknrk" data-source="post: 18918061" data-attributes="member: 18756"><p>P<strong>rivate Sub Workbook_SheetActivate(ByVal Sh As Object)</strong></p><p><strong></strong></p><p><strong> Dim Msg As String</strong></p><p><strong> Dim UserEntry As Variant</strong></p><p><strong></strong></p><p><strong> Msg = InputBox("What is the password?")</strong></p><p><strong></strong></p><p><strong> Do</strong></p><p><strong> Sheet1.Activate</strong></p><p><strong> UserEntry = InputBox(Msg)</strong></p><p><strong></strong></p><p><strong> If UserEntry = "test" Then Exit Sub</strong></p><p><strong> If UserEntry = False Then</strong></p><p><strong> Msg = "Invalid Password!"</strong></p><p><strong> Msg = Msg & vbNewLine</strong></p><p><strong> Msg = Msg & "What is the password?"</strong></p><p><strong></strong></p><p><strong> Loop</strong></p><p><strong> Sheet1.Activate = UserEntry</strong></p><p><strong></strong></p><p><strong>End Sub</strong></p><p></p><p></p><p>source:<a href="http://stackoverflow.com/questions/8145215/individual-worksheet-passwords" target="_blank">http://stackoverflow.com/questions/8145215/individual-worksheet-passwords</a></p></blockquote><p></p>
[QUOTE="asknrk, post: 18918061, member: 18756"] P[B]rivate Sub Workbook_SheetActivate(ByVal Sh As Object) Dim Msg As String Dim UserEntry As Variant Msg = InputBox("What is the password?") Do Sheet1.Activate UserEntry = InputBox(Msg) If UserEntry = "test" Then Exit Sub If UserEntry = False Then Msg = "Invalid Password!" Msg = Msg & vbNewLine Msg = Msg & "What is the password?" Loop Sheet1.Activate = UserEntry End Sub[/B] source:[url]http://stackoverflow.com/questions/8145215/individual-worksheet-passwords[/url] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom