+ Reply to Thread
Results 1 to 7 of 7

UserForm Frames

  1. #1
    Registered User
    Join Date
    11-06-2011
    Location
    Surrey
    MS-Off Ver
    Excel 2010
    Posts
    51

    UserForm Frames

    Guys

    Is there a way of changing the Order of a frame that was created after the underlying textboxes

    I have some 30 text boxes on the form and want to group them in frames but forgot to create the frames before I created the textboxes

    Any ideas

    Mark

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: UserForm Frames

    Mark

    Can't you select all the textboxes by drawing a rectangle over them and then drag them into the frame?
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor Gabor's Avatar
    Join Date
    02-15-2004
    Location
    Székesfehérvár, Hungary
    MS-Off Ver
    xl2016
    Posts
    226

    Re: UserForm Frames

    First you create a new frame.
    Then drag the top of the frame and pull down until you see just a narrow line of it at the bottom of your Form.
    It should be visible so mach that you are able to roll your cursor over the body of the frame, not just the frame of the Frame.
    Your textboxes will be visible now.
    Then select the text boxes you want to be on your Frame, by clicking on the first, hold down Ctrl and clicking on the others one after the other.
    Release Ctrl.
    Now select the top-most TextBox of the selection, then pull the selection of textboxes down until your cursor is over the Frame.
    Release mouse button.
    The texboxes now will be in the frame.
    Pull your frame back up and re-organise the textboxes inside of it.
    That is it.
    Regards,

    Gabor

    Protect trees.. maybe one day we need to climb back....

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: UserForm Frames

    Gabor

    Is it not a wee bit easier to 'draw' a rectangle over the textboxes to select them?

  5. #5
    Forum Contributor Gabor's Avatar
    Join Date
    02-15-2004
    Location
    Székesfehérvár, Hungary
    MS-Off Ver
    xl2016
    Posts
    226

    Re: UserForm Frames

    ummm.....yeah...

  6. #6
    Registered User
    Join Date
    11-06-2011
    Location
    Surrey
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: UserForm Frames

    Quote Originally Posted by Norie View Post
    Mark

    Can't you select all the textboxes by drawing a rectangle over them and then drag them into the frame?
    tHANKS FOR THATS NEVER THOUGHT OF TRYING THAT

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: UserForm Frames

    Kind of lost me there, did I offend in some way?
    Last edited by Norie; 04-08-2015 at 06:47 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel VBA with Internet Explorer (frames within frames?)
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-17-2014, 10:21 AM
  2. [SOLVED] add 2 more frames to existing UserForm VBA to populate textboxes
    By chriswhite1982 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-05-2014, 05:47 PM
  3. [SOLVED] Disable frames & option buttons on userform based on today's date
    By raj.bris in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-02-2013, 01:05 AM
  4. [SOLVED] Multiple Frames on a userform
    By James McDowell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-03-2005, 01:06 AM
  5. Multiple Frames in One UserForm
    By bforster1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-26-2005, 03:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1