I have created a spreadsheet that shows a list of mp3s on my PC and generates a playlist for those that I select 'yes' to uploading.
In order to make this easier for continual updates, I would like to be able to post raw data into one worksheet (taken from Access via the 'analyse with excel' function) and have the main sheet grab information from that. This means I won't have to keep adding formulas everytime I update my mp3 list.
'music' is the main worksheet I have set up
'data' will be the raw data taken from Access.
'data'
The format is as follows (starting in A1 with '>' indicating a new cell):
Artist>Album>Song>Length>Filepath
The above is the header row and the data follows on from that, anywhere from 10 to 5000 songs.
Using a command button I want 'music' to be able to grab the the information starting with the first artist (A2) and ending with the final filepath of the last row.
Basically, it means 'music' will copy all information in the range of the 'data' spreadsheet at the click of the button - and this will work regardless of how much information is in the 'data' sheet.
I can use =COUNTA(A:A) and the same for (1:1) to determine how many rows and columns should be in the range, but have no real idea what the code is for getting this infomation to show in the 'music' sheet.
I was playing around with it last night in an attempt to find out how things worked, and the best I could manage was to take information on the same sheet columns A-C and offset it by three rows (G1 was the COUNTA sum to determine how many rows had content).
Although this helped me gain a little knowledge, it was then I realised I am out of my depth a little in trying to get it to work as described above.
Any pointers would be greatly appreciated - thanks.
Mxx
Bookmarks