Screentip

  • Thread starter Gary''s Student
  • Start date
G

Gary''s Student

I can insert a hard return in a hyperlink screentip in VBA with:

Sub Macro2()
With Selection.Hyperlinks(1)
..ScreenTip = "Now is the time" & Chr(10) & "for all good men"
End With
End Sub

Can I do this without VBA ?
 
G

Gord Dibben

=HYPERLINK(Sheet1!D10,"now is the time" & CHAR(10) & "for all good men")

Don't forget to set wrap text and autofit.


Gord Dibben MS Excel MVP
 
G

Gary''s Student

Thanks!
--
Gary''s Student - gsnu200783


Gord Dibben said:
=HYPERLINK(Sheet1!D10,"now is the time" & CHAR(10) & "for all good men")

Don't forget to set wrap text and autofit.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top