Re: Convert Text to Numbers Problem

From: JE McGimpsey (jemcgimpsey_at_mvps.org)
Date: 03/23/04


Date: Tue, 23 Mar 2004 09:26:09 -0700

The site may be using non-breaking spaces, which TRIM() will not remove.
Take a look at David McRitchie's TrimAll() macro:

    http://www.mvps.org/dmcritchie/excel/join.htm#trimall
    

In article <186e01c410f0$b31108d0$7d02280a@phx.gbl>,
 "Cheryl" <anonymous@discussions.microsoft.com> wrote:

> I am trying to copy a table of data from a web page and
> paste it into Excel. When I paste the information, some
> of the numbers are treated as text, rather than numbers.
> I have tried every method listed in the following article:
> http://support.microsoft.com/default.aspx?scid=kb;en-
> us;181298 None of them work, aside from the Retype the
> Values method. This is not practical for our
> application.
>
> I have tried changing the format of the numbers when the
> web page is generated. This did not make a difference.
> It appears that things that were integers in the database
> that feeds the web page are recognized as numbers, while
> those stored as single are recognized as text. I
> converted the singles to ints and it made no difference.
>
> Have I missed something? Any suggestions of other things
> to try? Thanks!



Relevant Pages

  • Re: Find and delete trailing spaces?
    ... Rick Copeland wrote: ... take a look at David McRitchie's TrimALL() macro: ...
    (microsoft.public.mac.office.excel)
  • Re: format of numbers in a downloaed file
    ... suggesting the extremely useful link of Mr David McRitchie as well as Mr. ... It took me time to understand the macro ... >> But some numbers are in a strange format neither as numbers, ... >> file and even not compatible to copy it in an excel spreadsheet. ...
    (microsoft.public.excel.misc)
  • Re: My Macro Suddenly is not Working
    ... well now I put that macro in there and the screen is just bliniking. ... "David M. Marcovitz" wrote: ... new file from the template, and just try putting it directly in the ...
    (microsoft.public.powerpoint)
  • Re: From FoxPro/VFP to Access
    ... "david" wrote: ... A form or data access page identified in the Startup Options ... A macro idenitifed by using the /x option in the command line to start ... or windows run command, or, when the database opens, ...
    (microsoft.public.access.modulesdaovba)
  • RE: Macro Textbox
    ... need XP on) There 's an example of toggling triggers on our site. ... "David M. Marcovitz" wrote: ... Put it in a macro and set the ... invisibility code to some other button. ...
    (microsoft.public.powerpoint)