Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a report that a system is auto generating. The report adds
some kind of character at the end of each entry that I need a macro that can be run to remove it from ALL data in the spreadsheet. It is not a space as doing a replace on space with nothing doesn't get rid of it. The easiest way would be to just parse the whole spreadsheet removing the last character from the whole spreadsheet as it's that way everywhere so removing the last character would not damage the data. Any help with this? Thanks. JR |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Figured it out:
Sub fixme() Selection.Replace What:=Chr(160), Replacement:="", LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=False End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Remove character at end of data | Excel Discussion (Misc queries) | |||
Remove data that preceeds a character | Excel Worksheet Functions | |||
Remove ' character from copied excel cell to match data | Excel Discussion (Misc queries) | |||
Remove character from imported data | Excel Discussion (Misc queries) | |||
Remove 255 character limit from OLE DB .NET and Fix Data Corruptio | Excel Programming |