Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Embedding command buttons in cells

Just a thought;

Is it possible to embed a command button within a cell, so that it positions
and resizes accordingly? I'm assuming it would have to be code to specify
this.

Ta

Andy


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default Embedding command buttons in cells

Andy,

If you use a command button from the control toolbox, make it slightly
larger than the cell so that it covers all the cell's borders, and set
the button's properties so that it moves and sizes with cells, then
you can do it automatically.

HTH,
Bernie
MS Excel MVP

"Andy" wrote in message
...
Just a thought;

Is it possible to embed a command button within a cell, so that it

positions
and resizes accordingly? I'm assuming it would have to be code to

specify
this.

Ta

Andy




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Embedding command buttons in cells

You can use VBA to make it fit exact or you can hold the alt key while you're
positioning the object. With the alt key held down, the object will snap to the
cell's edge.

And do that "move and size" with the cell, too.

And try positioning an object when you hold down the shift key. It'll do
something else that might be useful.

Andy wrote:

Just a thought;

Is it possible to embed a command button within a cell, so that it positions
and resizes accordingly? I'm assuming it would have to be code to specify
this.

Ta

Andy


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Embedding command buttons in cells

And you may want to turn gridlines on to help.

And one mo If you show the drawing toolbar, there's a "draw" icon that
allows you to snap-to, align, nudge and more. Might be useful when you're
lining the buttons up.



Andy wrote:

Just a thought;

Is it possible to embed a command button within a cell, so that it positions
and resizes accordingly? I'm assuming it would have to be code to specify
this.

Ta

Andy


--

Dave Peterson

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
Command buttons aussiegirlone Excel Discussion (Misc queries) 2 January 8th 09 09:09 AM
Help with command buttons Danno Excel Worksheet Functions 1 October 7th 05 10:32 PM
command buttons Natalie Excel Worksheet Functions 1 March 7th 05 01:45 PM
Command buttons Russell Stevenson Excel Programming 3 November 12th 03 02:57 AM
Control Buttons vs. Command Buttons Robert Gibson Excel Programming 1 October 13th 03 04:33 PM


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