worksheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a user who is trying to move from worksheet to worksheet but wants the same cell in each worksheet. He heard that there is a shortcut but I'm not sure what he's talking about. Has anyone heard about this? I know how to move from worksheet to worksheet but not always getting to the same cell.
 
Hi
AFAIK there's no such shortcut

--
Regards
Frank Kabel
Frankfurt, Germany

cojo said:
I have a user who is trying to move from worksheet to worksheet but
wants the same cell in each worksheet. He heard that there is a
shortcut but I'm not sure what he's talking about. Has anyone heard
about this? I know how to move from worksheet to worksheet but not
always getting to the same cell.
 
One way:

Tell the user to put this macro in their Personal.xls file and assign it
to a keyboard shortcut:


Public Sub NextSheetSameRange()
Dim sSelected As String
Dim sActiveCell As String
sSelected = Selection.Address
sActiveCell = ActiveCell.Address
With Worksheets
.Item(ActiveSheet.Index Mod .Count + 1).Activate
End With
ActiveSheet.Range(sSelected).Select
ActiveSheet.Range(sActiveCell).Activate
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top