+ Reply to Thread
Results 1 to 3 of 3

Creating and placing a text box in VBA

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    NC
    MS-Off Ver
    Excel 2013
    Posts
    39

    Creating and placing a text box in VBA

    I have some code that selects a number of cells vertically (say for instance C6:C19), and I want to create a text box that sits perfectly on top of these cells (snaps to). What is the best way to create a text box that would go from the top left of C6 and to the bottom right of C19 in the above example?

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: Creating and placing a text box in VBA

    .
    One resource :

    http://excel.tips.net/T002192_Sizing..._the_Same.html
    .
    .
    A VBA approach:

    Please Login or Register  to view this content.
    Another resource: http://stackoverflow.com/questions/2...t-to-cell-size
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-08-2012
    Location
    NC
    MS-Off Ver
    Excel 2013
    Posts
    39

    Re: Creating and placing a text box in VBA

    Thank you! I haven't had a chance to try the code yet, but I'll be sure to post back when I do.

+ 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. [SOLVED] Placing a text box above Y axis
    By Joachimjr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-23-2014, 06:59 AM
  2. [SOLVED] Extract certain numbers from text placing them in columns
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2012, 01:43 PM
  3. creating and placing multiple charts based on row values in a new sheet.
    By MarMo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2012, 09:32 AM
  4. Placing an image behind text/numbers
    By -Doubleoseven- in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-01-2011, 08:25 AM
  5. Placing Quotation Marks Around Text With Column
    By jessekanclerz in forum Excel General
    Replies: 2
    Last Post: 03-18-2009, 04:38 PM
  6. Placing text-to-column data in array
    By Arne Hegefors in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2006, 04:20 AM
  7. Finding a value and placing text on the cell to the right
    By Reggie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-05-2006, 11:50 AM

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