ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Shapes Range Array (https://www.excelbanter.com/excel-discussion-misc-queries/82464-shapes-range-array.html)

Bubb

Shapes Range Array
 
Excel 2002 VBA. I am drawing some lines on a worksheet. After I've
finished drawing them, I want to group them together. Can I populate
an array as I draw them, then when I'm done drawing them, use the array
to group them? What kind of array should I use?


Bryan Hessey

Shapes Range Array
 

You can simply group them as is done in Visio.

Select the first line, then hold the CTRL key and select the other
required lines, then Rightmouse, Grouping, Group.

--

Bubb Wrote:
Excel 2002 VBA. I am drawing some lines on a worksheet. After I've
finished drawing them, I want to group them together. Can I populate
an array as I draw them, then when I'm done drawing them, use the
array
to group them? What kind of array should I use?



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=531583



All times are GMT +1. The time now is 07:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com