Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
When I copy and paste information from a website to excel - the data that I
have copied from the website was center justified so spaces are copied. One of the columns of data is currency so the $12.50 has three spaces before the $. I cannot apply any formatting to the cells with the spaces in there. When I delete the spaces everything is fine and my colums total correctly. I want to remove all leading spaces form all cells in the worksheet. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See this:
http://www.mvps.org/dmcritchie/excel/join.htm#trimall If you're copy/pasting from the web those spaces may not be standard char 32 spaces. They may be char 160 spaces. The macro at the above link will take care of both. If you copy/paste alot from the web this macro is a real time saver. I have it attached to a button and is on one of my toolbars. Biff "Brian" wrote in message ... When I copy and paste information from a website to excel - the data that I have copied from the website was center justified so spaces are copied. One of the columns of data is currency so the $12.50 has three spaces before the $. I cannot apply any formatting to the cells with the spaces in there. When I delete the spaces everything is fine and my colums total correctly. I want to remove all leading spaces form all cells in the worksheet. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
need to paste link from 4 vertical cells to 4 horizontal cells? | Excel Discussion (Misc queries) | |||
how do i protect cells in a shared worksheet | Excel Discussion (Misc queries) | |||
requires that merged cells must be identically sized? | Excel Discussion (Misc queries) | |||
Help adding text values | Excel Worksheet Functions | |||
Convert data type of cells to Text,Number,Date and Time | Excel Worksheet Functions |