tkaplan
11-21-2024, 08:26 AM
Hello,
I am a bit rusty in my VBA and can't figure out what I'm doing wrong for what I think is a simple task.
Sheet1 has a named range "EEName"
Sheet2 is a listing of all the EEName that I want to record
I need a macro that will record the value of what the user enters into the EEName named range in Sheet1 in column A of sheet 2 with each time the macro is run, the new record should be in the new blank row.
meaning user enters "Sarah" and then runs the macro. Sheet2 cellA2 should record Sarah
User then enters "John" and runs the macro. macro should find the next blank row in Sheet2 - which would be row 3 now (essentially counting the rows with a value in column A and adding 1) - and record John in cell A3
I feel like this should be really simple, but it's been a few years since I've written VBA (or any coding) and I'm losing it.
Assistance would be appreciated :)
I am a bit rusty in my VBA and can't figure out what I'm doing wrong for what I think is a simple task.
Sheet1 has a named range "EEName"
Sheet2 is a listing of all the EEName that I want to record
I need a macro that will record the value of what the user enters into the EEName named range in Sheet1 in column A of sheet 2 with each time the macro is run, the new record should be in the new blank row.
meaning user enters "Sarah" and then runs the macro. Sheet2 cellA2 should record Sarah
User then enters "John" and runs the macro. macro should find the next blank row in Sheet2 - which would be row 3 now (essentially counting the rows with a value in column A and adding 1) - and record John in cell A3
I feel like this should be really simple, but it's been a few years since I've written VBA (or any coding) and I'm losing it.
Assistance would be appreciated :)