#1   Report Post  
Posted to microsoft.public.excel.misc
hicksviv
 
Posts: n/a
Default Character Limitation


Hi,
I wonder if anyone can help. I have some cells that have lots of text
in - after around 1100 it seems to cut of the text. So ,if I do a row
'autofit' height it doesn't show all the text - however if I click the
fx button it shows it all - making sense?

I need to be able to print the file showing all the text - has anyone
got any idea how I can do this please?

Thanks in advance for any help!!

Viv


--
hicksviv
------------------------------------------------------------------------
hicksviv's Profile: http://www.excelforum.com/member.php...o&userid=33455
View this thread: http://www.excelforum.com/showthread...hreadid=532620

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Character Limitation

If you pepper alt-enters (to force new lines within the cell) every 80-100
characters, you'll be able to see more characters.



hicksviv wrote:

Hi,
I wonder if anyone can help. I have some cells that have lots of text
in - after around 1100 it seems to cut of the text. So ,if I do a row
'autofit' height it doesn't show all the text - however if I click the
fx button it shows it all - making sense?

I need to be able to print the file showing all the text - has anyone
got any idea how I can do this please?

Thanks in advance for any help!!

Viv

--
hicksviv
------------------------------------------------------------------------
hicksviv's Profile: http://www.excelforum.com/member.php...o&userid=33455
View this thread: http://www.excelforum.com/showthread...hreadid=532620


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
hicksviv
 
Posts: n/a
Default Character Limitation


Thanks Dave - is there anyway to automate this? I have quite a few
cells with too much text!


--
hicksviv
------------------------------------------------------------------------
hicksviv's Profile: http://www.excelforum.com/member.php...o&userid=33455
View this thread: http://www.excelforum.com/showthread...hreadid=532620

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Character Limitation

I guess you could look at the value in each cell and plop in those alt-enters.

I always wanted more control over where the line would break, though.

hicksviv wrote:

Thanks Dave - is there anyway to automate this? I have quite a few
cells with too much text!

--
hicksviv
------------------------------------------------------------------------
hicksviv's Profile: http://www.excelforum.com/member.php...o&userid=33455
View this thread: http://www.excelforum.com/showthread...hreadid=532620


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Character Limitation

Try this against a copy (or close without saving)...

Option Explicit
Sub testme01()
Dim myRng As Range
Dim myCell As Range
Dim myStr As String
Dim iCtr As Long
Dim jCtr As Long

Set myRng = Selection

For Each myCell In myRng.Cells
If myCell.HasFormula Then
'skip it
Else
If Len(myCell.Value) 800 Then
myStr = myCell.Value
For iCtr = 80 To Len(myStr) Step 80
Do
jCtr = iCtr
If Mid(myStr, jCtr, 1) = " " Then
Mid(myStr, jCtr, 1) = vbLf
Exit Do
Else
jCtr = jCtr + 1
End If
Loop
Next iCtr
myCell.Value = myStr
End If

End If
Next myCell

End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Dave Peterson wrote:

I guess you could look at the value in each cell and plop in those alt-enters.

I always wanted more control over where the line would break, though.

hicksviv wrote:

Thanks Dave - is there anyway to automate this? I have quite a few
cells with too much text!

--
hicksviv
------------------------------------------------------------------------
hicksviv's Profile: http://www.excelforum.com/member.php...o&userid=33455
View this thread: http://www.excelforum.com/showthread...hreadid=532620


--

Dave Peterson


--

Dave Peterson


Reply
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
Mystery ALT key character illudes all methods of extraction! HELP! bxc2739 Excel Discussion (Misc queries) 6 March 16th 06 08:12 PM
Odd! Excel changes my letter character. Why? spygrrl Excel Discussion (Misc queries) 5 March 9th 06 03:53 PM
Count occurrence of character within a cell Kelli Excel Discussion (Misc queries) 2 January 18th 06 02:20 PM
How to assign character (text) values to y-axis in a Excel chart? cy Charts and Charting in Excel 1 July 16th 05 10:39 PM
Searching a cell for a certain character. Matt Excel Worksheet Functions 3 January 3rd 05 09:14 PM


All times are GMT +1. The time now is 03:30 AM.

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"