Share via

Reference a cell in a previous tab

Anonymous
2010-09-28T14:42:32+00:00

I have a workbook with one sheet for every week.  Within each sheet I need to pull in some information from the prior week.  Instead of having to copy and paste every week, I would like to program a formula to just grab the information from the tab to the left of the current sheet.

I.E.

Sheet #1 has information in Cells J7 thru J49 that I would like to populate in sheet #2 under cells H7 thru H49.  It doesn't matter which week I'm working in - I will always be referencing the same cells in the worksheet to the left of the current one.  Is there a simple way to do this?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-09-28T14:46:44+00:00

One way

Sub previoussheet()

MsgBox Sheets(ActiveSheet.Index - 1).Range("e1")

End Sub


Don Guillett MVP Excel SalesAid Software *** Email address is removed for privacy ***

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful