Hi,

The attached contains a basic event macro. Change any cell in the range A1:A4 
to change the rectangle's size and position.

You may be able to adapt it for your own needs.

Regards - Dave.
 
> Date: Mon, 12 Jul 2010 12:43:39 -0700
> Subject: $$Excel-Macros$$ Using Excel to Control Shapes Drawn In A Workbook
> From: haymake...@gmail.com
> To: excel-macros@googlegroups.com
> 
> Dear Excel Experts,
> 
> A former professor of mine had a series of Excel spreadsheets
> that he used to calculate properties of structural elements. Within
> these spreadsheets he drew shapes (such as rectangles, circles,
> triangles, etc..) using Excel's shapes tool. He would then enter in
> data (such as the height of a beam or column) into a cell in a given
> workbook and the shape would change relative to its original size. So
> basically I am asking:
> 
> How do I change the size or properties of a shape drawn in an Excel
> workbook based on the input in a certain cell?
> 
> I would like to create spreadsheets that would calculate material
> properties of common structural engineering elements that have some
> sort of visual element to them. I am fairly new to visual basic and
> macros, so if any of you can help me, please keep things very simple
> (if possible). Thanks so much anything you all can do for me!
> 
> -- 
> ----------------------------------------------------------------------------------
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links : 
> http://twitter.com/exceldailytip
> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
> 3. Excel tutorials at http://www.excel-macros.blogspot.com
> 4. Learn VBA Macros at http://www.quickvba.blogspot.com
> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
> 
> To post to this group, send email to excel-macros@googlegroups.com
> 
> <><><><><><><><><><><><><><><><><><><><><><>
> HELP US GROW !!
> 
> We reach over 7000 subscribers worldwide and receive many nice notes about 
> the learning and support from the group.Let friends and co-workers know they 
> can subscribe to group at 
> http://groups.google.com/group/excel-macros/subscribe
                                          
_________________________________________________________________
If It Exists, You'll Find it on SEEK. Australia's #1 job site
http://clk.atdmt.com/NMN/go/157639755/direct/01/

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

Attachment: ChangeSize.xls
Description: Binary data

Reply via email to