Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default make button - assign to cell

Is it possible to programatically make a button and assign its location to a
specific cell or cells?


--
Thanks,

DL



  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default make button - assign to cell

hi,

-----Original Message-----
Is it possible to programatically make a button and

assign its location to a
specific cell or cells?


--
Thanks,

DL



.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default make button - assign to cell

slip of the key on the last one, sorry.
To add a button to a sheet programmatically you can use

Set btn = ActiveChart.Shapes.AddFormControl _
(xlButtonControl, 35, 10, 30, 15)

where the numbers are position left, position top, width
and height. To locate it on a particular cell you'll need
to set these parameters to the right values.

jacob
-----Original Message-----
Is it possible to programatically make a button and

assign its location to a
specific cell or cells?


--
Thanks,

DL



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default make button - assign to cell

Thanks for your help.



"jacob" wrote in message
...
slip of the key on the last one, sorry.
To add a button to a sheet programmatically you can use

Set btn = ActiveChart.Shapes.AddFormControl _
(xlButtonControl, 35, 10, 30, 15)

where the numbers are position left, position top, width
and height. To locate it on a particular cell you'll need
to set these parameters to the right values.

jacob
-----Original Message-----
Is it possible to programatically make a button and

assign its location to a
specific cell or cells?


--
Thanks,

DL



.



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
make a cell into a button RGlade Excel Discussion (Misc queries) 1 January 28th 08 07:35 PM
How can I assign a symbol to a button (like the $ button) NickW Excel Discussion (Misc queries) 2 September 6th 05 02:45 PM
How do I Assign Macro to a button? BellExcel Charts and Charting in Excel 4 May 20th 05 07:21 PM
Assign auto_open to a button MJO Excel Discussion (Misc queries) 1 April 11th 05 04:54 PM
Make a cell into a Macro button Al[_4_] Excel Programming 5 November 5th 03 10:15 AM


All times are GMT +1. The time now is 02:50 AM.

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"