Marty Plante
New Member
- Joined
- Dec 28, 2016
- Messages
- 17
- Office Version
- 365
- Platform
- Windows
I have code that creates via copy & paste a range of cells for manual data entry. For navigation I add the title of this range to the bottom of a table. In trying to automate the final step - creating a hyperlink to the new range - I have been unable to find a solution.
I'll try to draw this out better:
Sheet 1: Contains an excel table where I have hyperlinks to various cells on other sheets.
Sheet 2: Contains a template approximately 40 rows by 10 columns at the top left of the sheet, and each time I create a new table it is copied and pasted to the bottom, below the last entry with a few blank rows left between the last.
Macro contains an input box where I enter a title in the top left cell.
Currently the code finishes with Sheet 1 (Navigation table) active, adding a new row to the bottom of the table, and with the cell active where I begin the manual steps to create a hyperlink to the new range on Sheet 2.
I would like to auto generate the hyperlink in the table to the new table on Sheet 2. It doesn't seem to be a complex problem, I just haven't found the right steps in VBA to complete the task.
Note: There is much more to this workbook than these two sheets, and the table for Navigation allows the sorting necessary to locate specific items quickly. This particular macro is specific to a particular page so I have left the full scope of the workbook out.
I'll try to draw this out better:
Sheet 1: Contains an excel table where I have hyperlinks to various cells on other sheets.
Sheet 2: Contains a template approximately 40 rows by 10 columns at the top left of the sheet, and each time I create a new table it is copied and pasted to the bottom, below the last entry with a few blank rows left between the last.
Macro contains an input box where I enter a title in the top left cell.
Currently the code finishes with Sheet 1 (Navigation table) active, adding a new row to the bottom of the table, and with the cell active where I begin the manual steps to create a hyperlink to the new range on Sheet 2.
I would like to auto generate the hyperlink in the table to the new table on Sheet 2. It doesn't seem to be a complex problem, I just haven't found the right steps in VBA to complete the task.
Note: There is much more to this workbook than these two sheets, and the table for Navigation allows the sorting necessary to locate specific items quickly. This particular macro is specific to a particular page so I have left the full scope of the workbook out.