Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default using vba to change command button caption

I need to know how to use vba to change the caption in a command button on an
excel spreadsheet. Any assistance would be appreciated.

Paula
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default using vba to change command button caption

CommandButton1.Caption = "Your Text Here"

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default using vba to change command button caption

Assuming you know how to get to the code window, the code would be:

commandbutton1.caption = "xxxxxxxxx"

"PaulaO" wrote:

I need to know how to use vba to change the caption in a command button on an
excel spreadsheet. Any assistance would be appreciated.

Paula

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
multi line caption on command button?? neowok[_87_] Excel Programming 3 February 16th 06 09:50 AM
changing the caption of a command button JWCrosby Excel Programming 2 December 8th 05 08:09 PM
Command Button Caption Qaspec Excel Programming 1 January 27th 05 03:30 PM
Change Caption of Forms Command Button No Name Excel Programming 9 December 10th 04 07:59 AM
Urgent: VBA Command Button Caption Problem Disco[_4_] Excel Programming 1 November 12th 03 10:38 AM


All times are GMT +1. The time now is 09:19 PM.

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"