Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Place the caption of a toggle button into a cell

Hello --

The caption of a toggle button on a form can have two values, depending
on the state of the button.

I want to use that value in another cell of the worksheet.

Is there a worksheet function or technique to do that?

Thanks for any help.

L Mehl

  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default

You need to use VBA.

Range("A1").Value = Sheet1.ToggleButton1.Caption




wrote in message
ups.com...
Hello --

The caption of a toggle button on a form can have two values,
depending
on the state of the button.

I want to use that value in another cell of the worksheet.

Is there a worksheet function or technique to do that?

Thanks for any help.

L Mehl



  #3   Report Post  
L Mehl
 
Posts: n/a
Default

Chip --

Thank you. I wasn't "thinking outside the cell". I can put that code on
Worksheet_Activate() and achieve the result I want.

Larry



"Chip Pearson" wrote in message
...
You need to use VBA.

Range("A1").Value = Sheet1.ToggleButton1.Caption




wrote in message
ups.com...
Hello --

The caption of a toggle button on a form can have two values,
depending
on the state of the button.

I want to use that value in another cell of the worksheet.

Is there a worksheet function or technique to do that?

Thanks for any help.

L Mehl





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
adding a command button to an excel cell? betelguese Excel Discussion (Misc queries) 1 March 22nd 05 04:09 AM
Clear cell contents with a button KFC / A&W Boy Excel Worksheet Functions 1 March 7th 05 10:39 AM
How do I place diagonal lines in a cell in Excel. ezas1040 Excel Discussion (Misc queries) 3 February 25th 05 06:59 AM
Dropdown with a "jump to" cell name. Like a Go button.. thom hoyle Excel Worksheet Functions 2 January 27th 05 08:55 PM
Can I place visible text in cell that won't print JB Excel Discussion (Misc queries) 2 December 7th 04 11:31 PM


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