-
-
sheets(ActiveSheet.previous.name).range("a3") = 1
sheets(ActiveSheet.next.name).range("a2") = 2
myVariable = sheets(ActiveSheet.previous.name).range("a1") + sheets(ActiveSheet.next.name).range("a1")
-
Great. That worked! But is there a way of setting up the code so a formula is shown in Excel e.g Blue!A1 + Red!A1? And just out of interest is there a fairly simple way of involving sheets which are not the previous or next sheet?
Cheers!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules