Hey,
I have an Excel workbook, and on one sheet there is a drop down box, in this drop down box is a list of ID's as declared in the second worksheet. Then using the lookup function depending on the ID entered, the remaining cells in that row enter the data relevant to the ID in sheet 2. This is really all besides the point but might help you understand what I am trying to do.My problem is that to get the Vlookup function to work each time some data is added to the look up table, the ID must be reselected and Named, My ItemData must be reselected and named, and then the data must be arranged alphabetically. I thought that I could perform all these functions as a macro, but I'm a bit new to excel.
Basically I need to know either a function or some VBA code, that will allow me to select all active cells in a particular column starting from A2, and also a way to select all active cells on a page but missing the first row. If anyone knows how to do this or can give me a hint I'd be very grateful, even if its a case of you only know how to select all active cells in a column (disregard the miss A1 bit) that would be great.
Thanks for any help
Cheers
Sam
"You couldn't fool your mother on the foolingest day of your life if you had an electrified fooling machine." - Homer
I have an Excel workbook, and on one sheet there is a drop down box, in this drop down box is a list of ID's as declared in the second worksheet. Then using the lookup function depending on the ID entered, the remaining cells in that row enter the data relevant to the ID in sheet 2. This is really all besides the point but might help you understand what I am trying to do.My problem is that to get the Vlookup function to work each time some data is added to the look up table, the ID must be reselected and Named, My ItemData must be reselected and named, and then the data must be arranged alphabetically. I thought that I could perform all these functions as a macro, but I'm a bit new to excel.
Basically I need to know either a function or some VBA code, that will allow me to select all active cells in a particular column starting from A2, and also a way to select all active cells on a page but missing the first row. If anyone knows how to do this or can give me a hint I'd be very grateful, even if its a case of you only know how to select all active cells in a column (disregard the miss A1 bit) that would be great.
Thanks for any help
Cheers
Sam
"You couldn't fool your mother on the foolingest day of your life if you had an electrified fooling machine." - Homer