Darryl Collins
Darryl.Collins at coles.com.au
Mon Mar 10 23:24:00 CDT 2008
Hey all, I am stuck on with this, It is probably easy but been up since 4am (it is now 3:20pm) so I am not the sharpest tool in the shed right now! I have a form with sheet tabs, currently when a user opens the form it is populating all the tabs with data, but this seems a lot of overhead as some users will only look at one or two of the Tab pages. I wanted to capture when a user click on the tab page so I can call some VBA that will load the sub forms for that page only. I have the code to populate the sheet tabs etc, but I cannot seem to capture the "click on page tab" event at all. I can get "Click on TabControlSheet" but that is for the whole sheet and/or other such unhelpful combos of events. I thought this would be simple, but maybe I am wrong? '------------------------------------------------ ' Something like: Private Sub TabControlSheet.Pages(2)_Click() ' Then call the modules I want End sub '------------------------------------------------ would be great, but that doesn't seem to be an option. Any advice? cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material.