+ Reply to Thread
Results 1 to 3 of 3

Textbox created by code stretches over pages and slices text.

  1. #1
    Registered User
    Join Date
    10-20-2014
    Location
    The Netherlands
    MS-Off Ver
    2007
    Posts
    29

    Question Textbox created by code stretches over pages and slices text.

    Dear Excel-gurus,

    To simplify things I have the following. One button which creates a textbox and another which sets the textbox properties and adds text. However, when a lot of text is added the following occurs. Does anyone have an idea how to fix this or perhaps a workaround?

    Textbox stretch edit.png

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Textbox created by code stretches over pages and slices text.

    Hello ChrisPatterson,

    To help you with this problem, you would need to post your workbook. We need to see how the data is arranged, what formulas you are using, etc. Otherwise, we are just guessing at what you need.

    Please provide before and after examples of your data along with any notes you would like to include.

    If your workbook contains any sensitive information, please redact that information before you post.

    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    10-20-2014
    Location
    The Netherlands
    MS-Off Ver
    2007
    Posts
    29

    Re: Textbox created by code stretches over pages and slices text.

    Hi, thanks for your reply. I've attached a stripped down version of the workbook.

    ExcelForum_textbox_stretch.xlsm

+ 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. VBA - Macro Code to copy textbox text to another worksheet textbox
    By nitram lowm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-05-2013, 08:39 AM
  2. VBA-code text in textbox to a cell
    By Saturn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2011, 02:51 PM
  3. Calling for pages before they are created.
    By bsspewer in forum Excel General
    Replies: 4
    Last Post: 03-27-2006, 06:00 PM
  4. [SOLVED] Need VBA code to enter text into a textbox !!!!
    By Art Ferdinand in forum Excel General
    Replies: 1
    Last Post: 05-06-2005, 09:06 AM
  5. Excel stretches graphic objects horizontally when printing
    By Bazip Zeehok in forum Excel General
    Replies: 0
    Last Post: 05-04-2005, 06:06 AM

Tags for this Thread

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