Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default Pasted HTML Table Data Won't Convert From Text

When copying a table from a webpage, the numeric data pastes into Excel as
text. Normally, I can easily convert "text digits" by simply clicking in each
cell (as if to edit) or doing a search/replace, looking for one character (a
common digit, decimal point) and replacing it with the same. That method
isn't working with the HTML-originated data, which refuses to convert itself
unless it's re-typed.

What is it about this data type that makes it so stubborn?

TIA
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Pasted HTML Table Data Won't Convert From Text

It's common for ranges pasted from web pages to contain HTML non-breaking
spaces.

Try this to remove them:
Select the range of "numbers"
<Edit<Replace
Find What: [Alt]+0160 <-Hold down [Alt]€¦type 0160€¦release [Alt]
Replace with: (leave this blank)
Click [Replace All]

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Eric" wrote:

When copying a table from a webpage, the numeric data pastes into Excel as
text. Normally, I can easily convert "text digits" by simply clicking in each
cell (as if to edit) or doing a search/replace, looking for one character (a
common digit, decimal point) and replacing it with the same. That method
isn't working with the HTML-originated data, which refuses to convert itself
unless it's re-typed.

What is it about this data type that makes it so stubborn?

TIA

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default Pasted HTML Table Data Won't Convert From Text

I just discovered the spaces before seeing your answer, and wondered why they
were invulnerable to automatic deletion with a find/replace command.
Thanks,works like a charm!

"Ron Coderre" wrote:

It's common for ranges pasted from web pages to contain HTML non-breaking
spaces.

Try this to remove them:
Select the range of "numbers"
<Edit<Replace
Find What: [Alt]+0160 <-Hold down [Alt]€¦type 0160€¦release [Alt]
Replace with: (leave this blank)
Click [Replace All]

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Eric" wrote:

When copying a table from a webpage, the numeric data pastes into Excel as
text. Normally, I can easily convert "text digits" by simply clicking in each
cell (as if to edit) or doing a search/replace, looking for one character (a
common digit, decimal point) and replacing it with the same. That method
isn't working with the HTML-originated data, which refuses to convert itself
unless it's re-typed.

What is it about this data type that makes it so stubborn?

TIA

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
Unable to delete html data pasted into a cell Max Excel Discussion (Misc queries) 0 January 15th 07 05:49 PM
pasted HTML text disappears sunslight Excel Discussion (Misc queries) 2 January 9th 07 06:50 AM
How to convert HTML data into Excel? The Accidental Tourist Excel Discussion (Misc queries) 0 March 9th 06 05:21 PM
HTML Table pasted to Excel Josh O. Excel Discussion (Misc queries) 2 October 19th 05 06:52 PM
Convert excel table to HTML Loïc Excel Discussion (Misc queries) 4 October 17th 05 09:44 PM


All times are GMT +1. The time now is 04:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"