Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default add button syntax

I need to know the meaning of positional parameters for adding a button.

ActiveSheet.Buttons.Add(400, 40, 10, 10).Select

In the above example, what does the 1st, 2nd, 3rd, and 4th parameters
(within the parenthesis) control?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 227
Default add button syntax

Hi Al

Parameter 1 : How far button starts from left hand side of worksheet (Column
A)
Parameter 2 : How far button starts from top of worksheet (Row 1)
Parameter 3 : Button width
Parameter 4 : Button height
--

XL2003
Regards

William



"Big Al" <Big
wrote in message
...
I need to know the meaning of positional parameters for adding a button.

ActiveSheet.Buttons.Add(400, 40, 10, 10).Select

In the above example, what does the 1st, 2nd, 3rd, and 4th parameters
(within the parenthesis) control?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default add button syntax

William, thanx; that's exactly what I was looking for.

"William" wrote:

Hi Al

Parameter 1 : How far button starts from left hand side of worksheet (Column
A)
Parameter 2 : How far button starts from top of worksheet (Row 1)
Parameter 3 : Button width
Parameter 4 : Button height
--

XL2003
Regards

William



"Big Al" <Big
wrote in message
...
I need to know the meaning of positional parameters for adding a button.

ActiveSheet.Buttons.Add(400, 40, 10, 10).Select

In the above example, what does the 1st, 2nd, 3rd, and 4th parameters
(within the parenthesis) control?




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
Inserting a Graphic on a Button when the Button is Assigned to a M smck Excel Discussion (Misc queries) 2 October 27th 09 04:46 PM
insert row above button (retrieve position of button) Max Excel Discussion (Misc queries) 3 November 7th 07 06:27 PM
How do I lock a radio button group if a N/A button is selected worry a lot Excel Discussion (Misc queries) 2 May 21st 05 08:33 PM
Can't select macro button after other button is pressed C. Campbell Excel Programming 1 November 30th 04 07:46 PM
Delete a custom button by holding down the ALT key and dragging the button off the toolbar Stephen[_8_] Excel Programming 0 April 4th 04 02:22 PM


All times are GMT +1. The time now is 07:45 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"