Worksheet shortcuts.

trevolly

Board Regular
Joined
Aug 22, 2021
Messages
120
Office Version
  1. 365
Platform
  1. Windows
Hi all.

I recently made a Daily log for work and part of this was a Hanover Sheet that could be filled in and with the help of some v clever members of this site, have a vba code in the worksheet that when actioned copies the Handover worksheet in to the next shifts Daily Log. This enables the Handover sheet to be saved from shift to shift, allowing vital info for each shift to be ready for the day / night.

This works well apart from……. On the Handover Sheet I have made some “jump to” shortcuts by putting a button in and then recording a macro allowing the user to jump to a certain part of the Handover sheet.

Macro consists of …..
Sub Marshalling()

‘Marshalling Macro

Range (“A106”). Select
End Sub

This works apart from when the Handover sheet is copied to the next shift. Then when these “jump to” shortcuts are pressed then the original Daily log workbook opens in the background (I suppose because that’s where the original Handover sheet and the macro shortcuts were recorded).

Is there any way to make one of these “jump to “ shortcuts / buttons on the Handover sheet without it referencing the original workbook and opening it?
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Ahhh that seems easier @Fluff. Thank you - why is excel so confusing!!
You will learn with Excel there is always 10 different ways to do every thing.
You can run a entire script by double clicking a cell. But in your case a Hyperlink works well.
 
Upvote 0

Forum statistics

Threads
1,214,385
Messages
6,119,205
Members
448,874
Latest member
Lancelots

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top