LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Events for Controls in a Multipage Control

hi

i need some help with events for a control

i have a multipage control, to which i add controls

however i am unable to write code for them

is there a way to do this ?

ie
in the general, i delcare

Public WithEvents cFoo As CommandButton

then in a macro

set foo = MultiPage1.Pages(0).Controls.Add
("Forms.CommandButton.1","cmdMain",True")

how do i write an event for this object

or how do i manuall add on object in design mode and add
code for the event

any help would be appreiciated, thanks

-George
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MultiPage control Patrick Simonds Excel Worksheet Functions 1 August 5th 06 05:32 PM
MultiPage control George[_18_] Excel Programming 0 February 6th 04 03:33 PM
MultiPage control: Easy question SC Excel Programming 2 January 8th 04 08:54 PM
Scrollable list box demo now handles multipage controls Robin Hammond Excel Programming 0 October 8th 03 03:24 AM
Multipage control Neil Excel Programming 2 September 15th 03 01:24 PM


All times are GMT +1. The time now is 05:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"