Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default make a cell into a button

How do I make a cell into a "button"?
I want to format the cell,
make it into a button that references another cell
and then lock the button so others can't manipulate it, while still being
able to select it.

Thank you for your quick response.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default make a cell into a button

Hi,

You can either add a button from the Control toolbar and place it over your
cell or use the code below which will fire everytime you change the cell you
click on...propper button would be the best option tho.

HTH

Simon

================================================== ======================
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$A$1" Then
MsgBox "YOUR CODE HERE"
End If
End Sub

================================================== ======================

RGlade wrote:
How do I make a cell into a "button"?
I want to format the cell,
make it into a button that references another cell
and then lock the button so others can't manipulate it, while still being
able to select it.

Thank you for your quick response.


--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200801/1

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
How can I make a clickable button to do a Key Combo? BGerman Excel Worksheet Functions 4 August 21st 06 05:01 PM
Make a 'Print button' BrianT New Users to Excel 2 June 30th 06 09:57 PM
use "button" to make calculation ignore a cell Excel Worksheet Functions 5 March 21st 06 04:54 PM
How can I make the save button available from the openoffice? Rod Excel Discussion (Misc queries) 2 September 24th 05 06:46 PM
Is it possible to make a Button on a tool bar to launch an Add-in Wolf Excel Discussion (Misc queries) 1 June 24th 05 12:13 AM


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