I have come across a case where I want to get the data from multiple sheets into a variable in another sheet in VBA. I want to append that variable data into a Textfile.
I dont want to export the entire data into a textfile, I only want to export the data in a particular range.
So right now for each sheet I have a variable that contains required data from each worksheet and I want to send data from variable from each sheet to a function defined in a Master Sheet.
Lets say I have a variable s1 in sheet 1 containing some data. I want that variable data to be assessable in another sheet.
How can I meet the above requirement?