Consulting

Results 1 to 5 of 5

Thread: Solved: Wrapping text question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator
    2nd VP-Knowledge Base
    VBAX Master malik641's Avatar
    Joined
    Jul 2005
    Location
    Florida baby!
    Posts
    1,533
    Location

    Solved: Wrapping text question

    I have a drop down list in cell A2. Cell B2 has a formula that will choose another cell based on A2. The formula is:

    =IF(A2=$K$2,$L$2,IF(A2=$K$3,$L$5,IF(A2=$K$4,$L$8,IF(A2=$K$5,$L$11,""))))
    The problem is when I choose a value for A2, the formula works fine, but there is too much text for the cell. I formatted the cells for text wrapping, but it doesn't work with the formula (unless A2 has a value and I click on the formula in B2 and press F9 then Enter...but that's inefficient). Can I make a macro to adjust the row for the correct size to fit all the text, based on this information??

    Thanks in advance!
    Last edited by Aussiebear; 04-27-2023 at 07:43 PM. Reason: Added code tags




    New to the forum? Check out our Introductions section to get to know some of the members here. Feel free to tell us a little about yourself as well.

Posting Permissions

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