#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Find truncated cells

Hello,
I've exported an access table into excel. In the process, it looks like
some of the entries were truncated. How can I find all cells with 255
characters? I'd like to check each one for possible truncation.

Thanks,
Ellen
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Find truncated cells

Run this short macro:

Sub findLong()
For Each r In ActiveSheet.UsedRange
If Len(r.Value) 254 Then
r.Interior.ColorIndex = 6
End If
Next
End Sub

or use Conditional Formatting to do the same function.
--
Gary''s Student - gsnu200832


"EllenM" wrote:

Hello,
I've exported an access table into excel. In the process, it looks like
some of the entries were truncated. How can I find all cells with 255
characters? I'd like to check each one for possible truncation.

Thanks,
Ellen

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Find truncated cells

Works beautifully!!
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Find truncated cells

For future reference, please post your questions in ONE newsgroup only... I
just finished wasting my time answer this same question of yours in (one of)
the other newsgroups you posted it in.

--
Rick (MVP - Excel)


"EllenM" wrote in message
...
Works beautifully!!


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
Bottom of cells are truncated when printed after using auto row he Gary Excel Discussion (Misc queries) 1 December 7th 07 08:32 PM
Text in cells is truncated. Joe Excel Discussion (Misc queries) 5 February 21st 07 08:02 PM
Truncated wrapped text cells in Excel RichK Excel Discussion (Misc queries) 1 April 12th 06 07:45 PM
Excel truncated my cells when copying, how to avoid?? bxc2739 Excel Discussion (Misc queries) 0 March 17th 06 04:40 PM
Format cells to display truncated values? Mike Excel Discussion (Misc queries) 2 December 7th 04 10:13 PM


All times are GMT +1. The time now is 09:24 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"