×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

VBA to display overflow text vertically on selection

VBA to display overflow text vertically on selection

VBA to display overflow text vertically on selection

(OP)
I have a series of cells made up of one vertical cell and 6 merged rows each. Each cell can contain quite a large amount of text data.

Each cell represents a single day in an appointment scheduling system I have built, based on a tutorial by Randy Austin from Excel Freelancers.
I don't wish to adjust the cell height to a larger value as this will impact on the visual appeal of the system.

I want all of the text to overflow vertically when a user selects the cell.

I have tried all of the formatting options, such as wrap text and AutoFit Row Height, but they don't work for merged cells.

I am looking for a vba solution to do this on cell selection.

Thanks

There has to be a pony in this pile of s*%t somewhere.

RE: VBA to display overflow text vertically on selection

If for a specific text this can't be done in pure excel, how VBA could help? You can consider other ways to display full text of selected cell: comment, shape ot text field. Worksheet_SelectionChange event can be used to manage visibility and coordinates of the object used.

combo

RE: VBA to display overflow text vertically on selection

(OP)
Thanks combo,

You have given me an idea how to proceed.

There has to be a pony in this pile of s*%t somewhere.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close