Question: Can you help me with this code? To demonstrate your competence with navigating a worksheet with VBA, create a workbook named whatever you want (dont
Can you help me with this code?
To demonstrate your competence with navigating a worksheet with VBA, create a workbook named whatever you want (dont forget to save as macro-enabled: .xlsm), and do the following.
- Write code to do the following:
- Make A1 the active cell.
- Offset 3 rows and 2 columns, and make that the new active cell
- Set the value of the new active cell equal to your first name
- Offset 3 rows and -2 columns, and make that the new active cell
- Set the value of the new active cell equal to your last name
- Make the cell furthest up from the current active cell the new active cell (use .end)
- Set the value of the new active cell equal to your professors last name.
- Activate Sheet2
- Set the value of cell A1 equal to your desired or current major.
- Make all of this code run in a single Sub that is triggered by a button somewhere on the 1st worksheet.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
