Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pragramatically grouping items on form

I'm trying to automate the process of generating a form that will
later be edited by the user. I'm populating the form with controls
and labels, and I'd like to be able to group each control with its
corresponding label so the user can drag and drop them as a unit when
they customize the layout of the form. I haven't been able to figure
out how to do this. If the controls were on the active sheet I'd do
something like this (from macro recorder):

ActiveSheet.Shapes.Range(Array("Label1", "TextBox1")).Select
Selection.ShapeRange.Group.Select

How can I do the same thing, but on a userform?

Thanks in advance.

-Craig
Reply
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
Grouping Items by Arrays In need of enlightenment Excel Discussion (Misc queries) 3 March 18th 07 05:30 PM
Subtotaling Problems (Excel incorrectly grouping items) Bobbie @ NPH Excel Discussion (Misc queries) 2 April 4th 06 01:15 AM
Grouping Similar items crosswire123 Excel Worksheet Functions 3 March 31st 06 08:54 PM
order form with multiple items and sizes for items Bernard56 Excel Discussion (Misc queries) 1 January 17th 06 11:43 PM
2nd Form deselects list box items on main form RandyDtg1 Excel Programming 3 September 5th 04 09:32 PM


All times are GMT +1. The time now is 01:12 PM.

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"