+ Reply to Thread
Results 1 to 3 of 3

how to make newline in VB button caption on workshett?

  1. #1
    Rich
    Guest

    how to make newline in VB button caption on workshett?

    Hello,

    Is it possible to add/make a newline on a VB button on a worksheet? How can
    I do this? I added a button on a worksheet to run a macro. I need to make
    the caption descriptive, but I don't want to drag the button to the length of
    the activewindow. I can only add text through the property sheet of the
    button. Is there a way to add a newline char to the caption text?

    Thanks,
    Rich

  2. #2
    Rich
    Guest

    RE: how to make newline in VB button caption on workshett?

    I found the property I needed. Set WordWrap to true. Now I have my newline.

    "Rich" wrote:

    > Hello,
    >
    > Is it possible to add/make a newline on a VB button on a worksheet? How can
    > I do this? I added a button on a worksheet to run a macro. I need to make
    > the caption descriptive, but I don't want to drag the button to the length of
    > the activewindow. I can only add text through the property sheet of the
    > button. Is there a way to add a newline char to the caption text?
    >
    > Thanks,
    > Rich


  3. #3
    Zack Barresse
    Guest

    Re: how to make newline in VB button caption on workshett?

    Hello Rich,

    You can either do this via code or you can manually do it. To manually do
    this, enter your data in a blank cell using Alt + Enter key combination for
    a line break. Once you have it in your cell, copy it. Then open your
    Properties window and select the Caption property value and press Ctrl + V.

    HTH

    --
    Regards,
    Zack Barresse, aka firefytr
    To email, remove NOSPAM



    "Rich" <[email protected]> wrote in message
    news:[email protected]...
    > Hello,
    >
    > Is it possible to add/make a newline on a VB button on a worksheet? How
    > can
    > I do this? I added a button on a worksheet to run a macro. I need to
    > make
    > the caption descriptive, but I don't want to drag the button to the length
    > of
    > the activewindow. I can only add text through the property sheet of the
    > button. Is there a way to add a newline char to the caption text?
    >
    > Thanks,
    > Rich




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1