PC Review


Reply
Thread Tools Rate Thread

How to convert Text to Numeric

 
 
=?Utf-8?B?U3VuZGFyYSBNdXJ0aHk=?=
Guest
Posts: n/a
 
      24th Nov 2006
I am storing the data like

SlNo Inv_No Date Amt
1 101 01-Nov-06 15000
2 101 01-Nov-06 20000
3 201 01-Nov-06 60000
4 301 01-Nov-06 70000

Now i am storing the inv_no as text field now i need to convert into numeric
in vba
 
Reply With Quote
 
 
 
 
Gary Keramidas
Guest
Posts: n/a
 
      24th Nov 2006
you could just copy the range, find an empty range, choose pastespecial, select
add under operation and click ok. then just copy and paste that range over your
original.


--


Gary


"Sundara Murthy" <(E-Mail Removed)> wrote in message
news067FC70-990E-4A94-BB25-(E-Mail Removed)...
>I am storing the data like
>
> SlNo Inv_No Date Amt
> 1 101 01-Nov-06 15000
> 2 101 01-Nov-06 20000
> 3 201 01-Nov-06 60000
> 4 301 01-Nov-06 70000
>
> Now i am storing the inv_no as text field now i need to convert into numeric
> in vba



 
Reply With Quote
 
Gary Keramidas
Guest
Posts: n/a
 
      24th Nov 2006
oh, and make sure the original cells are formatted accordingly.

--


Gary


"Sundara Murthy" <(E-Mail Removed)> wrote in message
news067FC70-990E-4A94-BB25-(E-Mail Removed)...
>I am storing the data like
>
> SlNo Inv_No Date Amt
> 1 101 01-Nov-06 15000
> 2 101 01-Nov-06 20000
> 3 201 01-Nov-06 60000
> 4 301 01-Nov-06 70000
>
> Now i am storing the inv_no as text field now i need to convert into numeric
> in vba



 
Reply With Quote
 
NickHK
Guest
Posts: n/a
 
      24th Nov 2006
Sundara,
If this is just a one time thing;
- Enter a 1 in a spare cell on the WS.
- Copy
- Select the inv_no range to change
- Paste Special > Multiply

If you record a macro of the above steps, you will get the code, so you can
run it again.

But do these inv_no entries really have any meaning as numbers ?
i.e. does "inv_no * 10" mean anything ?
To me, these should be text.

NickHK

"Sundara Murthy" <(E-Mail Removed)> wrote in message
news067FC70-990E-4A94-BB25-(E-Mail Removed)...
> I am storing the data like
>
> SlNo Inv_No Date Amt
> 1 101 01-Nov-06 15000
> 2 101 01-Nov-06 20000
> 3 201 01-Nov-06 60000
> 4 301 01-Nov-06 70000
>
> Now i am storing the inv_no as text field now i need to convert into

numeric
> in vba



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert a numeric value in text how to convert a numeric value in text Microsoft Excel Worksheet Functions 2 21st Aug 2008 06:40 PM
Convert text to numeric value Dylan @ UAFC Microsoft Excel Misc 1 15th May 2008 12:36 AM
Numeric in Text to convert back to the form of Numeric for VLookup Purposes achilles Microsoft Excel Misc 4 6th Feb 2006 07:05 AM
Convert Numeric into Text =?Utf-8?B?U2hhaGlk?= Microsoft Excel Worksheet Functions 7 18th Dec 2004 09:25 PM
convert numeric to text B Microsoft Access Queries 2 4th Aug 2004 02:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:19 AM.