Hi there!
I am making a button that will populate certain fields with information across multiple sheets in the workbook. I have that working fine. But I would like to have it recognize where it is, so that I do not have to make 250 macros to do what I want. The attachment is my test subject. The first button on sheet one will jump to sheet 2, add 1 to the arranged cell, jump back to sheet 1, add the current date to the date field, then select the card number field. If you look at the code for this, it is hard coded to go to those specific locations. I want to make the button recognize what row it is in, so that I can use that value to tell it where to jump on the different sheets. That way I can just use copies of the one button isntead of tons of macros.
I am making a button that will populate certain fields with information across multiple sheets in the workbook. I have that working fine. But I would like to have it recognize where it is, so that I do not have to make 250 macros to do what I want. The attachment is my test subject. The first button on sheet one will jump to sheet 2, add 1 to the arranged cell, jump back to sheet 1, add the current date to the date field, then select the card number field. If you look at the code for this, it is hard coded to go to those specific locations. I want to make the button recognize what row it is in, so that I can use that value to tell it where to jump on the different sheets. That way I can just use copies of the one button isntead of tons of macros.