+ Reply to Thread
Results 1 to 2 of 2

how to modify size of a drawn rectangle

  1. #1
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Question how to modify size of a drawn rectangle

    If I have a simple rectangle drawn, how would I modify it's width, from 200 pixels to 400 pixels?

    Also, how do I detect what excel has "named" the rectangle so I can used it in the code above? For example, if I was to start recording a macro and than select a chart, I can see VB generate the following code:
    Please Login or Register  to view this content.
    If I do the same thing and select the rectangle, no code is generated.........

    Thank you
    You either quit or become really good at it. There are no other choices.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: how to modify size of a drawn rectangle

    Hi

    Try

    Please Login or Register  to view this content.
    300 points because 1 pixel is 0.75 points.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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