write to .txt file

THECHAMP3343

New Member
Joined
Apr 24, 2014
Messages
2
I am currently trying to build a file that will keep track of all completed work. I already have a spreadsheet for keeping track, however, I want to be able to clear the spreadsheet with the click of a button and write to a .txt file.

When the button is clicked, I would like for any cell appearing with "C" or "C/" to have its 5 corresponding row range(a8:e8, f6:j6, etc) to be cleared from excel and saved into a .txt file.

If this really isn't clear, I can provide my sample spreadsheet to give more of a visual to what I mean. Thank you.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
?
I am currently trying to build a file that will keep track of all completed work. I already have a spreadsheet for keeping track, however, I want to be able to clear the spreadsheet with the click of a button and write to a .txt file.

When the button is clicked, I would like for any cell appearing with "C" or "C/" to have its 5 corresponding row range(a8:e8, f6:j6, etc) to be cleared from excel and saved into a .txt file.

If this really isn't clear, I can provide my sample spreadsheet to give more of a visual to what I mean. Thank you.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top