Conditonal Formatting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Everyone!

I am trying to find a formula (if there is one) to accomplish the following task in a worksheet containing several thousand rows:

Setting the height for the rows in the document depending on the number of lines in a particular row, i.e the height of all rows that have “one line†should be 20, the ones with 2 lines should be 25 or 30, etc., instead of manually selecting every single row and then setting the row height.

Thanks.
 
Hi
this is not possible with a formula but this would require VBA (a
macro) Is this a feasible way for you?

--
Regards
Frank Kabel
Frankfurt, Germany

geza said:
Hi Everyone!

I am trying to find a formula (if there is one) to accomplish the
following task in a worksheet containing several thousand rows:
Setting the height for the rows in the document depending on the
number of lines in a particular row, i.e the height of all rows that
have “one line†should be 20, the ones with 2 lines should be 25 or 30,
etc., instead of manually selecting every single row and then setting
the row height.
 
I read in microsoft.public.excel.misc that Frank Kabel
Hi
this is not possible with a formula but this would require VBA (a
macro) Is this a feasible way for you?

--
Regards
Frank Kabel
Frankfurt, Germany


following task in a worksheet containing several thousand rows:
number of lines in a particular row, i.e the height of all rows that
have “one line†should be 20, the ones with 2 lines should be 25 or 30,
etc., instead of manually selecting every single row and then setting
the row height.
Doesn't 'wrap text' in Format > Cells > Alignment achieve more or less
what you need?
 

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

Back
Top