+ Reply to Thread
Results 1 to 2 of 2

VBA code to draw a line between two shapes

  1. #1
    Registered User
    Join Date
    08-10-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    35

    VBA code to draw a line between two shapes

    Hi guys,

    I have two shapes called shp1 and shp2 in a worksheet. Is it possible to write some code which will draw a line between the two shapes, i.e. connecting them?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: VBA code to draw a line between two shapes


    Hi,

    it's possible and you can have the code by using the Macro recorder while you draw the line …

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Can Excel Draw Shapes or Angles based on Data?
    By chesspupil in forum Excel General
    Replies: 15
    Last Post: 04-30-2016, 03:31 PM
  2. Draw multiple shapes on specified area on a worksheet
    By CEO76 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2013, 02:24 AM
  3. Draw shapes on a shape: Is it possible?
    By Hopworks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2011, 03:55 PM
  4. Drawing in Excel-Can you use excel to draw shapes
    By sparx in forum Excel General
    Replies: 3
    Last Post: 02-14-2006, 02:40 PM
  5. [SOLVED] How do I draw a line of best fit?
    By Gavin in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-15-2005, 05:06 PM

Tags for this Thread

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