Hello John444,
Welcome to the Forum!
The following macro can be attached to button from the Forms Toolbar on the worksheet. There are a few variable in the code you should change to what you need. These are marked in red. Make these changes before you save the macro.
The macro assumes the information starts in the same cell on each sheet, for example "A2". It also assumes that the name is in the first column "A" and the amount is in the adjacent column "B".
Installing the Macro- Copy the macro using the CTRL+C keys.
- Open the Excel workbook the macro will run in.
- Open the Visual Basic Editor (VBE) using the keys ALT+F11.
- Activate the Insert Menu with the keys ALT+I.
- Insert a new module for the macro by pressing the key M.
- Paste the macro into the module using the keys CTRL+V.
- Make any custom changes to the code at this time!
- Save the macro using the keys CTRL+S.
- Exit the VBE and return to Excel using ALT+Q.
Sincerely,
Leith Ross
Bookmarks