+ Reply to Thread
Results 1 to 15 of 15

Automatically bringing a Shape into a Cell Using Shape Code

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    5

    Automatically bringing a Shape into a Cell Using Shape Code

    Hi Guys,

    I am preparing a Bar Bending Schedule sheet. I have shape codes and each shape code for each shape.
    I will be entering the shape code in a cell and excel should automatically find the shape and bring the shape in another cell. Check the below image for your reference.

    BBS-Sample.jpg

    The concept is I have created a lot of shapes and grouped them together. The shape also contains text boxes along with them to contain the respective values. Please find the attached image. In that image the shapes contained in the Cells S4, S5, S6, S7, S8, etc... are the various shapes i created. I have shown a shape by selecting that on the right side in the cells AG:AJ for your reference.

    http://www.grantimage.com/out.php/i48860_bbs-sample.jpg

    Now what I want is, Check the Column H. Which contains the Shape Code. 200 is the shape code for the shape in Cell S4. That shape contains 3 sides and so three values are required A, B, & C. Those values I have given in I4, J4 & K4. See those values are getting reflected in the shape text boxes S4.

    If you consider the Shape code 900 which is in H8 and that shape contains 5 sides and so 5 values are required I8:M8.

    Now what I want in macro is, I have created shapes and grouped them separately as Group 1, Group 2, etc... and its shape code will be 200, 201, etc....

    Now If I enter 200 in H4 then automatically Group 1 shape should be available in the cell S4. It should resize the row height as per the shapes size. Then I want to link the Text boxes with the concerned values from I4:R4.

    Also, if one shape group is repeating all the shape group name should be same. text boxes name should be same.. but the reference to the text box should be different.

    any doubt please reply me.

    Here I had attached the sample file... What I need exactly is if i enter the shape code in this file it should automatically update the cell in column S

    Sample.xlsx

    Thanks in advance.

    Regards,

    Sathish Justin
    Last edited by dineshtendulkar; 11-25-2012 at 02:10 PM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    attach a xls* file please, not jpg
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    11-07-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    Quote Originally Posted by patel45 View Post
    attach a xls* file please, not jpg
    Patel.. Excel File Attached... Thanks in Advance...

  4. #4
    Registered User
    Join Date
    11-07-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    any helps please...

  5. #5
    Registered User
    Join Date
    07-26-2013
    Location
    banagalore
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    hi
    even i am trying for the same try this if it can solve your probs

    see the below attachment this will help you
    define in name manager first for the picture using the formulas given in sheet
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-07-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    Hey Divya teja,

    I found out long before. I have completed that project and it is working like charm. What is your project about.

  7. #7
    Registered User
    Join Date
    07-26-2013
    Location
    banagalore
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    hi,

    i am trying for the same bbs,

    can you please me on that selcetion of picture and chage in dimensions in pictures.

  8. #8
    Registered User
    Join Date
    07-26-2013
    Location
    banagalore
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    help me on the same issue

  9. #9
    Registered User
    Join Date
    11-07-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    send me your file to [email protected]

    Will do for you

  10. #10
    Registered User
    Join Date
    07-26-2013
    Location
    banagalore
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    in my file i can chage the picture but only with respect to one cell and dimensions are not changes

    please help me as quickly as possible.

    i mailed u the file

  11. #11
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    Quote Originally Posted by dineshtendulkar View Post
    send me your file to [email protected]

    Will do for you
    Forum Rules
    4. Don't Private Message or email Excel questions to moderators or other members. (or Word, Access, etc.) The point of having a public forum is to share solutions to common (and sometimes uncommon) problems with all members.

  12. #12
    Registered User
    Join Date
    04-11-2014
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    how to assign macro to link with shapes and text for concerned value cells through shape code

    Thanks
    Selvam

  13. #13
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    maduraiselvam,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ben Van Johnson

  14. #14
    Registered User
    Join Date
    12-16-2016
    Location
    malaysia
    MS-Off Ver
    2015
    Posts
    1

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    any help, im using bbs but i try change code at colum h drawing at colum S not canging

  15. #15
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Automatically bringing a Shape into a Cell Using Shape Code

    chongxiongjian,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ 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