My Cell Range is ("J3:L28") and I want it to export to a txt file with the File name from Cell (M2) to C:\Test\. Can someone Assist me with a macro so I can make a push button for this? Thanks In Advance!
My Cell Range is ("J3:L28") and I want it to export to a txt file with the File name from Cell (M2) to C:\Test\. Can someone Assist me with a macro so I can make a push button for this? Thanks In Advance!
Hi HH,
I'd be looking at "Print To File" and make the file a .txt file. In the print dialogs there is a print selection only.
Record a macro that does these keystroke operations and see if that solves your problem.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Please Login or Register to view this content.
Hello hammerhead,
Here is another macro to create the file from the range.
Please Login or Register to view this content.
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Star below the post.3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks