View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Multi-line text on a CommandButton

And if you wanted to do it in code:

Worksheets("Sheet1").CommandButton1.Caption = "hi" & vbLf & "there"

Paul Kraemer wrote:

Hi,

I am using Excel 2007. I have inserted an ActiveX Command Button on a
worksheet. I can enter descriptive text in the "Caption" field and this text
is displayed on this Command Button. I can only seem to enter one line of
text this way. Can anyone tell me if there is a way I can enter a second
line of text to be displayed on the Command Button?

Thanks in advance,
Paul Kraemer

--
Paul Kraemer


--

Dave Peterson