|
-
Feb 17th, 2006, 06:54 AM
#1
Thread Starter
Lively Member
[RESOLVED] Procedure call on sheet tab clike
hi experts
i m working in VBA ,i have a workbook which contain 3 sheets
1. PI-template 2. Admin 3. status ,
i have coded a proedure " Description" in modul "mdDescription".
i want when sheet2 (Admin) is cliked ,
the procedure "Description" call on cliked(Admin)
-
Feb 17th, 2006, 09:09 AM
#2
Addicted Member
Re: Procedure call on sheet tab clike
Hi Pandey_om
put this sub in ThisWorkbook
VB Code:
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
If Sh.Name = "Admin" Then
Call Description
End If
End Sub
-
Feb 17th, 2006, 09:10 AM
#3
Lively Member
Re: Procedure call on sheet tab clike
Open the code view for your Admin sheet and paste this
VB Code:
Private Sub Worksheet_Activate()
Call Description
End Sub
-
Feb 17th, 2006, 09:11 AM
#4
Lively Member
Re: Procedure call on sheet tab clike
Too slow on the trigger again.
-
Feb 17th, 2006, 09:31 AM
#5
Thread Starter
Lively Member
Re: Procedure call on sheet tab clike
thanks the experts
both the mathod working fine.
my problem solved ,i m happy
cheerrrrrrrrrrrrrrrrrrrrrrrr
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|