Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
punter
 
Posts: n/a
Default Having macro convert text to numbers


Hi,

I have a sheet of several thousand rows and about 25 columns. When I
export the data into excel there are many numbers that come through as
text with the little green triangle in the upper left hand corner. In
the past I would just manually change them by highlighting the cells in
questions and hitting the pop up box that let me convert the text to
numbers. When I record that step of manually converting the text in
the macro recorder nothing happens. Does anyone know how I can have
macros convert this data for me?

Thanks as always,

Eddie


--
punter


------------------------------------------------------------------------
punter's Profile: http://www.excelforum.com/member.php...fo&userid=2044
View this thread: http://www.excelforum.com/showthread...hreadid=551258

  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Having macro convert text to numbers

In an un-used cell enter 1 and copy it.

Then select all the cells you want to convert (or all the cells) and
paste/special with the multiply button checked.
--
Gary''s Student


"punter" wrote:


Hi,

I have a sheet of several thousand rows and about 25 columns. When I
export the data into excel there are many numbers that come through as
text with the little green triangle in the upper left hand corner. In
the past I would just manually change them by highlighting the cells in
questions and hitting the pop up box that let me convert the text to
numbers. When I record that step of manually converting the text in
the macro recorder nothing happens. Does anyone know how I can have
macros convert this data for me?

Thanks as always,

Eddie


--
punter


------------------------------------------------------------------------
punter's Profile: http://www.excelforum.com/member.php...fo&userid=2044
View this thread: http://www.excelforum.com/showthread...hreadid=551258


  #3   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default Having macro convert text to numbers

GS and punter

Save a couple steps by copying a blank cell and Paste SpecialAdd


Gord Dibben MS Excel MVP


On Mon, 12 Jun 2006 18:07:01 -0700, Gary''s Student
wrote:

In an un-used cell enter 1 and copy it.

Then select all the cells you want to convert (or all the cells) and
paste/special with the multiply button checked.
--
Gary''s Student


"punter" wrote:


Hi,

I have a sheet of several thousand rows and about 25 columns. When I
export the data into excel there are many numbers that come through as
text with the little green triangle in the upper left hand corner. In
the past I would just manually change them by highlighting the cells in
questions and hitting the pop up box that let me convert the text to
numbers. When I record that step of manually converting the text in
the macro recorder nothing happens. Does anyone know how I can have
macros convert this data for me?


Gord Dibben MS Excel MVP
  #4   Report Post  
Posted to microsoft.public.excel.misc
punter
 
Posts: n/a
Default Having macro convert text to numbers


Both those ideas work. Thanks.

Eddie


--
punter


------------------------------------------------------------------------
punter's Profile: http://www.excelforum.com/member.php...fo&userid=2044
View this thread: http://www.excelforum.com/showthread...hreadid=551258

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
Convert Text to Numbers Jitty Excel Worksheet Functions 2 May 9th 06 02:30 PM
How do I write a formula to convert numbers to written text? Jess Excel Worksheet Functions 2 April 25th 06 03:25 PM
How can I convert Text into numbers? Greta Excel Worksheet Functions 8 August 22nd 05 02:03 PM
How to convert Excel imported numbers from text to numbers? Alden Excel Discussion (Misc queries) 9 April 1st 05 09:51 PM
Converting Numbers to Text properly Shirley Munro Excel Discussion (Misc queries) 1 February 16th 05 03:01 PM


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