Question: 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
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 firstname
- Offset 3 rows and -2 columns, and make that the new active cell
- Set the value of the new active cell equal to your lastname
- Make the cell furthest up from the current active cell the newactive cell (use .end)
- Set the value of the new active cell equal to yourprofessors last name.
- Activate Sheet2
- Set the value of the new active cell equal to your desiredor current major.
- Make all of this code run in a single Sub that is triggered by a button somewhere on the 1st worksheet.
I'm not sure how to start or what exactly I need to do with this instruction.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
