Could be you missed something when you copied/pasted.
1. Right-click on the worksheet tab.
2. Delete any lines of code that may appear in the module.
3. Copy the code from my post then paste into the blank module.
4. Format the cells to wrap text.
6. Set the rows to Autofit.
7. Start typing.
Gord
>Thnaks Gord. I copied & pasted into the sheet module. When I try to enter
>text into the merged cell, it gives me the following error:
[quoted text clipped - 8 lines]
>
>Bob
Thanks,
I followed your instructions. I cleared everything out, then re-pasted the
VB code. The VB page then showed the copied code in the main window, with
the 2 drop down boxes at the top showing "Worksheet" & "Change". I then
clicked "File" & "Close and return to MS Excel".
I formatted the merged cells to wrap text. I then clicked on Format &
Autofit Row Height.
I no longer get the error from this morning, but the cells still do not
autofit the text. The text just cuts off at the existing cell boundries.
I am still missing something I guess.
Thanks,
Bob
> Could be you missed something when you copied/pasted.
>
[quoted text clipped - 25 lines]
>>
>>Bob
Gord Dibben - 09 Aug 2007 00:23 GMT
First of all...........how much text are you entering in the cells?
Excel won't show more than 1024 characters, including spaces, in a cell.
If you exceed that, the text won't display.
OR
Quite possible that when you errored this morning events were disabled.
When in the module click on View>Immediate Window
Enter this in the window then hit ENTER
Application.EnableEvents = True
Back to Excel and see what happens when you type a long string in a merged cell.
Gord
>Thanks,
>
[quoted text clipped - 44 lines]
>>>
>>>Bob
Robert M. Atkinson - 09 Aug 2007 13:23 GMT
I am entering far less than the 1024 chractor limit... perhaps around 50 -
100 charactors.
I followed your instructions regarding the View>Immediate Window. This
didn't seem to help.
A bit more info: If I type in enough charactors to make the text wrap and
hit Enter, the text does not wrap... it just gets cut off. The pysical cell
size does not chage. If I then manually adjust the row height, the text
then wraps as it should. If I then select Autofit Row Height, it goes back
to the cut-off text in the original cell size.The Autofit Row Height doesn't
seem to recognize that the row height needs to increase.
Thanks,
Bob
> First of all...........how much text are you entering in the cells?
>
[quoted text clipped - 66 lines]
>>>>
>>>>Bob
Gord Dibben - 09 Aug 2007 15:38 GMT
Perhaps you could send me a scaled down version of your workbook?
Change the DOT and AT appropriately to email me.
Gord
>I am entering far less than the 1024 chractor limit... perhaps around 50 -
>100 charactors.
[quoted text clipped - 83 lines]
>>>>>
>>>>>Bob
Robert M. Atkinson - 09 Aug 2007 20:11 GMT
Sent... Thanks!
> Perhaps you could send me a scaled down version of your workbook?
>
[quoted text clipped - 95 lines]
>>>>>>
>>>>>>Bob