Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Can Not get cell to accept any format change! Source from html

Copied bank html statement to Excel Worksheet. Columns of numbers &/or cell
will not accept a format change to Currency. Same columns would not add.
Did 'Paste Special' every option... no change occured.
Did save as to csv and csv file responded the same.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Can Not get cell to accept any format change! Source from html

Lots of times, when you copy|paste from a web site, you'll get those HTML
non-breaking spaces (char(160)).

You can clean them up with formulas, but if you have to do it lots of times (or
with lots of data), you may want to use a macro.

David McRitchie has a macro that can help clean this:
http://www.mvps.org/dmcritchie/excel/join.htm#trimall
(look for "Sub Trimall()")

If you're new to macros:

Debra Dalgleish has some notes how to implement macros he
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)

Quentin wrote:

Copied bank html statement to Excel Worksheet. Columns of numbers &/or cell
will not accept a format change to Currency. Same columns would not add.
Did 'Paste Special' every option... no change occured.
Did save as to csv and csv file responded the same.


--

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
format cell to accept 2 letters only Wanna Learn Excel Discussion (Misc queries) 6 December 2nd 08 09:28 PM
format a cell to accept sentences... using return key lkconey Excel Discussion (Misc queries) 1 June 22nd 06 05:22 AM
format a cell to accept a date or a whole number trick95 Excel Discussion (Misc queries) 1 March 4th 06 01:56 PM
how to change path name of html source folder ? naruemol Excel Worksheet Functions 0 June 17th 05 03:50 AM
How can I format a cell to accept feet and inches and add them Jack Excel Worksheet Functions 4 November 4th 04 12:30 AM


All times are GMT +1. The time now is 11:43 PM.

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"