LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Automatically changing the rowheight

Tom
First of all Thanks for the quick reply. That code works perfect for adjusting the row height of merged cells. Thanks for that too.
Now i have two more doubt

Firstly, again back to my initial question : This code would be perfect otherwise but what i was looking that would there be a way to resize the dependencies in Excel formulae..upon change of parent cell

Second question regarding the code : There seems to be a little (very marginal error) while using this code. Lets say we have a single column with width 98.58 (to be very precise...., i did some testing with this) and i typed in something to the end of the line. and now i have five columns (all merged) totalling to column width of 98.58 (38.86 + 7.43 + 22.43 + 7.43 + 22.43) and i typed in the same text. I used the below code .....and it takes an extra line, in merged cells(looking into the code i could understand that if the cells are merged and wraptext is true it unmerges the row , increases the width of te first merged cell to the total width of all merged cells then auto fits it , calculates the row height and again merges it and sets the row height) . I know i m going little crazy as this is gonna be the rarest case...but was just curious...if you have any idea of the extra space it takes while in a single column than in a merged cell of the same column width.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is RowHeight=0 the same as Hidden Michelle Excel Discussion (Misc queries) 4 February 22nd 10 02:02 PM
Automatically changing arrows Nelson B. Excel Discussion (Misc queries) 6 December 11th 08 09:38 PM
Find 4.75 and Replace with 12.75 ( Rowheight ) Steved Excel Discussion (Misc queries) 2 June 5th 08 02:34 AM
autofit rowheight after auto change line RC[_3_] Excel Programming 1 January 16th 04 12:31 PM


All times are GMT +1. The time now is 01:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"