+ Reply to Thread
Results 1 to 4 of 4

Word wrap in Group Box (Form Control)

Hybrid View

  1. #1
    Registered User
    Join Date
    04-22-2020
    Location
    Alaska
    MS-Off Ver
    Professinal Plus 2016
    Posts
    4

    Word wrap in Group Box (Form Control)

    Good afternoon,

    I am creating a test on Excel using Group Boxes and Option Buttons. I'm trying to keep all columns the same size, but some of the questions are scenario based and can be lengthy. This initially causes the text to exceed past the group box causing me to stretch the box wider (I'm trying to avoid that and keep the boxes the same size to fit on one page). Is there a way to word wrap the text in a Group Box (Form Control)? *screenshot below*

    -JeffWord Wrap.PNG

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Word wrap in Group Box (Form Control)

    activesheet.shapes(1).drawingobject.text="12345" & vbcrlf & "67890"

  3. #3
    Registered User
    Join Date
    04-22-2020
    Location
    Alaska
    MS-Off Ver
    Professinal Plus 2016
    Posts
    4

    Re: Word wrap in Group Box (Form Control)

    Where should this go?

  4. #4
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Word wrap in Group Box (Form Control)

    it's VBA code and must be the part of a subroutine or a function. Also it could be run in immediate window of VB editor.

+ 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 Dies when I copy / Paste Group Box (Form Control) manually or with VBA
    By Steveapa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2016, 04:50 PM
  2. [SOLVED] Add form control to identify the option buttons to each group
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-11-2015, 08:58 AM
  3. [SOLVED] How to get text box on user form to "word-wrap"
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-16-2014, 12:37 PM
  4. User form Listbox Word Wrap, How To?
    By jtmeunier in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2013, 11:22 PM
  5. [SOLVED] How can I fill color in Group box (form control)
    By anand_erin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-03-2012, 04:46 PM
  6. form textbox wont word wrap
    By Rob Hargreaves in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2005, 08:05 AM
  7. [SOLVED] How do I set up and use a group box form control?
    By Grizz905 in forum Excel General
    Replies: 1
    Last Post: 01-20-2005, 07:06 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