Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Control tip text

Hi,

I'd like to add control tip text to command buttons on a
worksheet.

I've tried to include the code :

Sub Workbook_open()
Sheets("test").commandbutton1.controltiptext="text "
End Sub

But it does not work.

How to do it?
Many thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Control tip text

This property does not exist for Excel controls. It may
be available for Visual Basic, but Excel VBA is not the
same thing. Right-click your controls while in design
mode and select properties to see what you can use. If
you want to add a "tip" then use an Excel comment in the
cell closest to the control.

-----Original Message-----
Hi,

I'd like to add control tip text to command buttons on a
worksheet.

I've tried to include the code :

Sub Workbook_open()
Sheets("test").commandbutton1.controltiptext="tex t"
End Sub

But it does not work.

How to do it?
Many thanks.
.

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
Text control won't expand Linda New Users to Excel 1 April 24th 10 02:41 AM
Control Box Text Box Newbeetle Excel Discussion (Misc queries) 2 November 18th 07 08:27 AM
Bolding text in a control text box. AJL Excel Discussion (Misc queries) 3 November 16th 06 05:39 PM
Text Control - Wrap Text SF Excel Discussion (Misc queries) 2 February 6th 06 02:22 PM
Limiting physical length of text in a text box control XL2Know Excel Discussion (Misc queries) 1 October 6th 05 01:55 PM


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