LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Numbers being stored as text not as numbers (SpecialCells)

Hi,

I am struggling with a problem with Excel 2000 although I suspect it
may be the same for other versions.

I have a spreadsheet which has a column which has numbers in its
cells.

When I try loading this using TransferSpreadsheet a number of the cells
fail to load because of "Type conversion errors"

Looking at the problem fields they all appear to be numbers with
nothing to indicate that they are anything other than numbers.

When I run this macro in Excel
(http://j-walk.com/ss/excel/tips/tip28.htm) it displays the data type
that the SpecialCells function thinks are in problem cells.
The macro reports that the SpecialCells says they are text values.

If I manually clear the contents and retype the values then they are
numbers as they should be.

A *nasty* side effect of manually changing these is that if I then save
the file Excel complains that it is broken and needs to repair itself.
It tries to reinstall the VBA6.msi file but that fails with an install
errors 2709 & 1603.

My IT helpdesk is looking at it but I suspect this will be beyond
them.

Does anyone know:
a) What has caused this problem in the first place
b) If there is an easy way of solving this without having to write a
macro that loops around all the cells and checks what they and changes
them as necessary
c) How I can stop this in the future when the users enter the data...

Cheers,

Mark
 
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
Convert Numbers stored as Text to Numbers Emece Excel Discussion (Misc queries) 2 November 30th 09 06:15 PM
Convert numbers stored as text to numbers Stig - tame racing driver Excel Discussion (Misc queries) 5 November 14th 08 10:10 AM
VLOOKUP should compare numbers stored as text to plain numbers. VLOOKUP - Numbers stored as text Excel Worksheet Functions 0 March 31st 06 05:53 PM
Convert numbers stored as text to numbers Excel 2000 Darlene Excel Discussion (Misc queries) 6 January 31st 06 08:04 PM
How do I convert numbers stored as text with spaces to numbers Baffuor Excel Discussion (Misc queries) 1 May 24th 05 07:39 AM


All times are GMT +1. The time now is 04:08 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"