Hi all,
I need help in writing a macro, that retrives 2 column values from an excel sheet and write it as a text file.
Any help will be helpful.
Thanks in advance
Hi all,
I need help in writing a macro, that retrives 2 column values from an excel sheet and write it as a text file.
Any help will be helpful.
Thanks in advance
Last edited by vijay2482; 09-17-2009 at 07:24 AM.
1) Copy the two column onto a new blank sheet
2) Save the sheet as text - Saving as text will only save the active sheetPlease Login or Register to view this content.
A macro would need to know:Please Login or Register to view this content.
a) What columns?
b) What path to save files to?
c) What naming system to use on the saved file?
Last edited by JBeaucaire; 09-14-2009 at 10:32 AM.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Thanks for the reply and code.
I'm working on it.
If found difficulty to sort the problem, will be back.
If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].
(Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks