Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Changing Text in a Forms Button

Quickie !

Can the text in a button (Forms) be changed without selecting it.
If yes, how?

regards,
Don


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Changing Text in a Forms Button

You can use the code:
sheets("Sheet1").[Button 1].Caption = "New Text"
substituting your sheet name and the button name (look in the Name Box on
the toolbar when the button is selected to see what the name is).

"Don Lloyd" wrote:

Quickie !

Can the text in a button (Forms) be changed without selecting it.
If yes, how?

regards,
Don



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Changing Text in a Forms Button

Many thanks,
Don

"K Dales" wrote in message
...
You can use the code:
sheets("Sheet1").[Button 1].Caption = "New Text"
substituting your sheet name and the button name (look in the Name Box on
the toolbar when the button is selected to see what the name is).

"Don Lloyd" wrote:

Quickie !

Can the text in a button (Forms) be changed without selecting it.
If yes, how?

regards,
Don





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
Changing text on a button Brad Excel Discussion (Misc queries) 2 July 27th 07 12:14 PM
Form Button - Changing Text dan Excel Discussion (Misc queries) 2 February 8th 07 12:58 PM
Command button on forms Erik (AP Inc.) Excel Discussion (Misc queries) 2 August 28th 06 01:58 PM
Changing Forms Gonçalo Ricardo[_4_] Excel Programming 1 November 26th 04 12:56 PM
Option Button and forms paradise Excel Programming 1 October 27th 03 12:32 PM


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