Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Can I line up lots of controls on a sheet at once?

Hi

I have just created a menu on a sheet at the front of my workbook. I have
made it appear first and I have just added a button and copied it 44 times
to the sheet.

The only way I know to get them all lined up on the sheet is to change each
ones individual properties.

Can someone tell me how I would get a load of controls on the sheet to line
up?

Thanks.
Rob



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Can I line up lots of controls on a sheet at once?

Rob,

Do you mean you want to move some buttons?

Sub MoveButtons()
Dim btn As Object
Dim i As Long

For Each btn In ActiveSheet.Buttons
btn.Left = 100
i = i + 1
btn.Top = i * 40
Next btn
End Sub

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Robert Hargreaves" wrote in message
...
Hi

I have just created a menu on a sheet at the front of my workbook. I have
made it appear first and I have just added a button and copied it 44 times
to the sheet.

The only way I know to get them all lined up on the sheet is to change

each
ones individual properties.

Can someone tell me how I would get a load of controls on the sheet to

line
up?

Thanks.
Rob





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 170
Default Can I line up lots of controls on a sheet at once?

1) Make sure the Drawing toolbar is visible.
2) Select the Controls/Shapes you want to align
3) DrawingToolbarDrawAlignOrDistribute (pick 1 of 8 possible choices)

HTH,
--
George Nicholson

Remove 'Junk' from return address.


"Robert Hargreaves" wrote in message
...
Hi

I have just created a menu on a sheet at the front of my workbook. I have
made it appear first and I have just added a button and copied it 44 times
to the sheet.

The only way I know to get them all lined up on the sheet is to change
each ones individual properties.

Can someone tell me how I would get a load of controls on the sheet to
line up?

Thanks.
Rob




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
What controls row expansion to show muli-line text in a word-wrap Bill45 Excel Discussion (Misc queries) 1 March 18th 09 06:58 PM
Need more than 1208 controls per sheet mowali Excel Discussion (Misc queries) 1 December 7th 05 03:43 PM
line controls HFB Excel Programming 0 January 20th 05 02:17 AM
Controls in protected sheet mangesh_yadav[_88_] Excel Programming 18 September 6th 04 04:56 PM
Lots of Frustration - Lots of Arrays, Dynamic Ranges Don't Work, Help With Options Karl Burrows Excel Programming 4 April 17th 04 12:48 PM


All times are GMT +1. The time now is 05:11 AM.

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

About Us

"It's about Microsoft Excel"