ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Carriage Retunr in the Caption property of a CommandButton control (https://www.excelbanter.com/excel-programming/393802-carriage-retunr-caption-property-commandbutton-control.html)

Jean-Pierre Bidon

Carriage Retunr in the Caption property of a CommandButton control
 
Hie,
Is it possible to insert a carriage return in a string allocated to the
"caption" property of a "CommandButton" control ?
Thanks.
--
Jean-Pierre Bidon
Interstat
5 place de la République
75003 Paris
Tél: 01 45 49 19 17



Ruben

Carriage Retunr in the Caption property of a CommandButton control
 
Yes!
CommandButton1.Caption = "My" & vbCrLf & "Caption"

"Jean-Pierre Bidon" wrote:

Hie,
Is it possible to insert a carriage return in a string allocated to the
"caption" property of a "CommandButton" control ?
Thanks.
--
Jean-Pierre Bidon
Interstat
5 place de la République
75003 Paris
Tél: 01 45 49 19 17





All times are GMT +1. The time now is 10:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com