+ Reply to Thread
Results 1 to 2 of 2

I would like to insert a text box" with the shape " and possibley group it

  1. #1
    Registered User
    Join Date
    12-13-2013
    Location
    lapeer michigan
    MS-Off Ver
    Excel 2013
    Posts
    7

    I would like to insert a text box" with the shape " and possibley group it

    Hello guys
    I could use a little help . I want to insert a box .....Then " Add a textbox "at the same time . Preferably i would like to group it as well. So that when i move the rectangle the text box is attached to it . Could someone please help guide me . I am very new to vba and just staring out . I really want to group it upon its creation u Know ....Thank you guys happy computing


    Eric Maxfield ....



    Sub DrawRect() '


    Set myDocument = ActiveSheet

    With myDocument.Shapes.AddShape(msoShapeRectangle, _
    480, 170, 200, 200)
    .Name = "A"
    .Fill.Visible = msoFalse
    .Line.ForeColor.RGB = RGB(48, 48, 48)
    .Line.DashStyle = msoLineSolid

    .Line.Weight = 2.5


    End With

    End Sub

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: I would like to insert a text box" with the shape " and possibley group it

    Ok.. I welcomed twice and asked to read the forum rules but seems that you ignore my requests!

    So last and final warning!

    Stop starting one thread after the other. Read the forum rules and do what you have to do in all 3 your threads.

    Let me know if what i say it's clear, or else i'll block ALL your threads.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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 to insert pictures to " insert comment " or "Text box" in cell E5 and E15
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2013, 08:10 PM
  2. Replies: 2
    Last Post: 06-25-2013, 12:43 PM
  3. [SOLVED] "divide a shape for text"
    By nero in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-17-2006, 12:17 AM
  4. [SOLVED] Pivot table "Group and Show Details" vs. "SubTotals"
    By pgchop in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2006, 03:35 AM
  5. Replies: 3
    Last Post: 10-25-2005, 07:05 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