![]() |
|
|
|
#1
|
|||
|
|||
|
Another solution might be to read the data into a workbook for which you can apply an autofit, and then read from this intermediate file the row height info into your collector workbook.
|
|
#2
|
|||
|
|||
|
Dear friend, i do have a link between workbooks, but if i apply autofit to the cell containing the link to the source workbook, the height of the row will always be 15, no matter how long is the text.
I am working to a solution which counts characters in text : =LEN(A1), and to set the row height depending on this count. At first evaluation, looks like this method does not need the source workbook to be open... Thanks again for your time gjcase, i will let you know if i find an acceptable solution, and please let me know if you have a better way |
|
#3
|
|||
|
|||
|
Catalin:
See the attached files. I have a source file, Book3.xlsm, an intermediate file, Intermediate.xlsm, which reads the data from the source, runs an autofit, and copies to the third file, collector.xlsm. See if this does what you are after. |
|
#4
|
|||
|
|||
|
Yes, gjcase, this is exactly what i need, only the intermediate is unnecessary, i will adjust the macro to copy directly from book 3 in collector.
Great solution, gjcase, thanks a lot. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pasting HTML into Excel (height auto-adjust) | c-tran | Excel | 0 | 03-11-2010 07:30 AM |
| automatic start of macro + help on writing helper function | vsempoux | Word | 3 | 10-09-2009 03:01 AM |
Macro or Function to know wether a string is included in a text
|
Eduardo | Word VBA | 5 | 06-15-2009 01:55 AM |
Help! for using an appropriate function/Macro in Excel
|
pawan2paw | Excel | 1 | 06-04-2009 12:28 PM |
| Validate the height of the text when you save (VBA) | jhpe | Word VBA | 0 | 08-22-2008 06:59 PM |