Hi Team,
How can i convert text columns to numbers in VBA.
Could someone advise how to do this.
Regards,
Shekar.
Hi Team,
How can i convert text columns to numbers in VBA.
Could someone advise how to do this.
Regards,
Shekar.
Last edited by shekar goud; 04-20-2009 at 09:57 AM.
If I understand you correctly this is one way
It displays the result in a message box
![]()
Please Login or Register to view this content.
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assistedor failed to assist you
I welcome your Feedback.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
I tried the following funda, and it worked pretty fine for me. If it doesnt, then let me know the exact thing you are trying to do.
Thanks,![]()
Please Login or Register to view this content.
Vikas
Hi All,
Thanks for all your response.
I just wanted to convert column "D" into numbers where i have numbers.When i trimed the column it converted into text problem is i have to vlookup that row which is giving #N/A.
Regards,
Shekar.
Perhaps you can record a macro.
After initiating the recording, select the column and go to Data|Text to Columns and click Finish.
Stop the macro.
Now you have a macro that you can attach to a button.
If it is a rare use thing, it's just as easy to simply do the actions manually rather than have a macro...
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Hi All,
Thanks again i have done this at the first i got the below.
when i did this as per your advise its wonder its worked really thanks to all.![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
It would be great if some guide me how do Vlookup with another file.
Regards,
Shekar.
You should post this question with examples etc, in a separate thread in the Excel Worksheet Functions forum.It would be great if some guide me how do Vlookup with another file.
Also please mark this thread as Solved.
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks