Hi,
I'm new to the whole VB and macro thing, I can get my head around VlOOKUPS and IFs etc, but the programming in excel doesn't go in.
I used to write basic vba code for file manipulation, but was a long time ago, and my skills have faded.
Basically I need to create an xml file, but I'm happy to call it a .txt with the following output from excel.
I have 2 sheets with data that I need I will call them Sheet 3 and Sheet 4, however they are named something else but easier for others to follow if I can get an answer.
I need to get the data from these sheets in the following format:
All of column U from two sheets and export them into a txt file, then add a carriage return and add all of columns AD, AE, AF, AG so they look like this:
Output of Column U from Sheet3 and sheet4 all on new lines
Sheet3!U:1
Sheet3!U:2
Sheet3!U:3….UNTIL AT THE BOTTOM OF THE COLUMN
Sheet4!U:1
Sheet4!U:2
Sheet4!U:3….UNTIL AT THE BOTTOM OF THE COLUMN
<CarriageReturn>
Sheet3!AD:1
Sheet3!AD:2
Sheet3!AD:3…
Sheet4!AD:1
Sheet4!AD:2
Sheet4!AD:3….UNTIL AT THE BOTTOM OF THE COLUMN
Sheet3!AE:1
Sheet3!AE:2
Sheet3!AE:3…UNTIL AT THE BOTTOM OF THE COLUMN
Sheet4!AE:1
Sheet4!AE:2
Sheet4!AE:3….UNTIL AT THE BOTTOM OF THE COLUMN
Sheet3!AF:1
Sheet3!AF:2
Sheet3!AF:3…UNTIL AT THE BOTTOM OF THE COLUMN
Sheet4!AF:1
Sheet4!AF:2
Sheet4!AF:3….UNTIL AT THE BOTTOM OF THE COLUMN
Sheet3!AG:1
Sheet3!AG:2
Sheet3!AG:3…UNTIL AT THE BOTTOM OF THE COLUMN
Sheet4!AG:1
Sheet4!AG:2
Sheet4!AG:3….UNTIL AT THE BOTTOM OF THE COLUMN
END of file.
I hope this is possible somehow
L
Bookmarks