I use a workbook for a medical equipment with several sheets. The first sheet contains all of the supplies needed for that instrument. If two instruments are needed, we copy/paste/create a copy in the same workbook. I created a macro with a button that will copy the first sheet into a new workbook, leaving the original in place. But if I have a Sheet 2, the macro refers to Sheet 1 . For example Sheet 1 has the button, and I copy/paste/create a copy, creating Sheet 2, and click the macro button on Sheet 2, the macro goes back to Sheet 1 to copy.
Visual basic has:
as the first line. Is there something like
that I could use?
Bookmarks