Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
Is there a way to have more than 256 text characters per cell? I'm writing a macro that uses the characters object, and that works with strings that are shorter than 256 characters. Every time I have more than 256 characters, I get a run-time error. It says "Runtime Error '1004' Unable to set the text property to the characters class." I'm using Excel 2000. My code is: Do While i < c.Characters.Count + m If c.Characters(i, 1).Text = Chr(34) And x Mod 2 0 Then c.Characters(i, 1).Text = "“" x = x + 1 i = i + 6 ElseIf c.Characters(i, 1).Text = Chr(34) And x Mod 2 = 0 Then c.Characters(i, 1).Text = "”" x = x + 1 i = i + 6 Else c.Characters(i, 1).Text = c.Characters(i, 1).Text i = i + 1 End If Loop Thank you |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to limit cell to 30 characters or less | Excel Discussion (Misc queries) | |||
How do I limit characters in a cell? | Excel Worksheet Functions | |||
limit of characters in Excell | Excel Discussion (Misc queries) | |||
limit no of characters in cell | Excel Discussion (Misc queries) | |||
Can I limit a cell to 72 characters? How? | Excel Discussion (Misc queries) |