LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
jinx_uk_98
 
Posts: n/a
Default add controls on the fly/dynamically


Hi All.

I use this code to rename the tabs of multipage control on a userform.

Sub page()

For Each Cell In Sheets("Data").Range("major_streams")
frm_daily_entry.MultiPage1.Pages.Add Cell.Text
Next

End Sub

The problem I have is that when creating the tabs on the fly I also
have to create other controls on the fly too, specifically Labels &
textboxes.

The Labels & Textboxes will be defined by looking up the caption of the
current tab (on sheet1) and adding however many label/Textboxes that
are required (one for every item under the heading on the sheet).

Anyone have any ideas?

thanks

Kevin


--
jinx_uk_98
------------------------------------------------------------------------
jinx_uk_98's Profile: http://www.excelforum.com/member.php...o&userid=28878
View this thread: http://www.excelforum.com/showthread...hreadid=486908

 
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
Is it possible to group parts with controls? [email protected] Excel Discussion (Misc queries) 4 October 12th 05 11:10 PM
Select All controls in a worksheet and delete them rova78 Excel Discussion (Misc queries) 1 April 28th 05 11:05 PM
After installing Office XP SP3, Excel ActiveX controls are moved a RJR Excel Discussion (Misc queries) 2 March 19th 05 05:54 PM
Help on Excel controls Reney Langlois Excel Discussion (Misc queries) 1 March 9th 05 02:48 PM
ActiveX Controls Display Issue? [email protected] Excel Discussion (Misc queries) 0 March 5th 05 05:43 PM


All times are GMT +1. The time now is 07:26 AM.

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

About Us

"It's about Microsoft Excel"