VBA for creating a .txt file from tab(s) in excel

ozzanif

New Member
Joined
Mar 4, 2014
Messages
2
Hi,

I'm trying to copy cell's A1 - A?? (depends on data on a different tab) to a .txt file and save it.

I would like to take cell's A1 - A?? on tab "Upload -copy to notepad"....and save this information into a .txt file. All of my information is concatenated in column "A"....my problem is getting it to stop pulling data when we tell it to.

The "??" is based on tab "Type 45 - Template working"... I need to check each cell from F36-F160. If data exists there, then I need to run a loop until that data stops...which will then tell me how man lines to go down.

So basically F36 on "Type 45..." tab is A1 on "Upload..." tab...if that make sense.

Any help would be awesome, and thank you! If any clarity is needed, let me know happy to provide!:confused:

Running Microsoft Office Standard 2013
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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