Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default How to make a drawing that changes size by values entered?

I need to make a free-form drawing (geometric shape) that will change
automatically by values specified in different cells.
Is there any way to do this (for a beginner), for example, using VB?
Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default How to make a drawing that changes size by values entered?

What configuration of geometric shape and what is its function?

Excel has many buit-in shapes.

May be easier to use one of them and record a macro to see which numbers
have to be altered to re-position and re-size the shape.

Here is a basic rectangle drawing.

Sub Add_Box()
ActiveSheet.Shapes.AddShape(msoShapeRectangle, 1, 1, _
Range("A1").Value, Range("A2").Value). _
Select
End Sub

Left =1 Top = 1 The position (in points) of the upper-left corner of the
AutoShape's bounding box relative to the upper-left corner of the document.

Width = A1 value Height = A2 value The width and height of the
AutoShape's bounding box, in points.

For freeform drawing see VBA help on BuildFreeform Method


Gord Dibben MS Excel MVP


On Thu, 3 Dec 2009 06:56:01 -0800, carsya
wrote:

I need to make a free-form drawing (geometric shape) that will change
automatically by values specified in different cells.
Is there any way to do this (for a beginner), for example, using VB?
Thanks in advance.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a cell increase by 40% when a number is entered Linda New Users to Excel 2 December 28th 07 08:28 PM
How can I make certain fields compulsory if others are entered MartinR420 Excel Discussion (Misc queries) 0 July 12th 06 11:15 AM
Can I make information entered in a cell erase recurringly? Conker10382 Excel Discussion (Misc queries) 0 May 18th 06 11:33 PM
How to make other cells give a specific value when entered into a Allen Excel Discussion (Misc queries) 2 April 11th 06 04:22 AM
how do i make a value entered be * 2 BigAL921 New Users to Excel 1 December 21st 05 06:45 AM


All times are GMT +1. The time now is 10:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"