+ Reply to Thread
Results 1 to 7 of 7

How to insert a specific shape & add text from a cell into it?

  1. #1
    Forum Contributor daksh1981's Avatar
    Join Date
    04-15-2009
    Location
    India
    MS-Off Ver
    2003 & 2007
    Posts
    110

    Thumbs up How to insert a specific shape & add text from a cell into it?

    I need your help on How to insert a specific shape in excel & how to add a text from a specific cell in this shape?
    I am attaching a sample file in which I have inserted a sample shape which I want to be added through VBA. I have also mentioned the text in Column A2 which I want inside this shape with VBA.
    Attached Files Attached Files
    Last edited by daksh1981; 06-30-2010 at 11:28 AM. Reason: I have got the answer.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: How to insert a specific shape & add text from a cell into it?

    Use your xl2003 version and the macro recorder to get code

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor daksh1981's Avatar
    Join Date
    04-15-2009
    Location
    India
    MS-Off Ver
    2003 & 2007
    Posts
    110

    Re: How to insert a specific shape & add text from a cell into it?

    Thanks Andy Pope for the quick response. I am using Excel 2007 I do not have Excel 2003 installed.
    Though this has resolved my query, Can you please guide how I can get information on setting the properties of this shape in VBA like shape color, shape text color, background color etc. ?
    This will be a great help.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: How to insert a specific shape & add text from a cell into it?

    Try using the Object browser and help as well as searching forum for previous examples.

    If you don't have xl2003 why is it in your profile?

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: How to insert a specific shape & add text from a cell into it?

    You attached a 2003 workbook!

    Wouldn't it be simpler to have a shape that is hidden and unhidden as required?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  6. #6
    Forum Contributor daksh1981's Avatar
    Join Date
    04-15-2009
    Location
    India
    MS-Off Ver
    2003 & 2007
    Posts
    110

    Re: How to insert a specific shape & add text from a cell into it?

    Hi Andy Pope,

    The system which I am using right now does not have Excel 2003. This is an official system where we can only use Excel 2007.

    royUK: I don't need shape to be hidden or unhidden, I just wanted to add a specific shape with a specific text in my active sheet.

  7. #7
    Forum Contributor daksh1981's Avatar
    Join Date
    04-15-2009
    Location
    India
    MS-Off Ver
    2003 & 2007
    Posts
    110

    Re: How to insert a specific shape & add text from a cell into it?

    Hi Andy Pope thanks for the instruction. Definitely I will use Object Browser.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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