Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am creating a macro that so far works great for inserting new worksheets
(formatting copied from worksheet 2) for a selection found on worksheet 1. The problems comes when I'm trying to create a formula for the same cell (I5) in each new worksheet to equal a specific cell in the same row as the one originally selected. To demonstrate Worksheet 1 A B Product 1 12 Product 2 45 Product 3 87 The macro so far creates a new worksheet for each product ie Product 1, Product 2, Product 3, but then I want I5 to equal the value found in the B column for each product. The code so far is below. The ....... shows where I'm stuck! For Each cell In Selection Sheets("Worksheet 2").Copy After:=Worksheets(Worksheets.Count) ActiveSheet.Name = cell.Value Range("I5").Select ActiveSheet.FormulaR1C1 = "=Worksheet 1!......" Next cell Thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Keeping forumla cell reference after cut and pasting | Excel Discussion (Misc queries) | |||
Copy & Paste Forumla - but reference cell is changing | Excel Discussion (Misc queries) | |||
Using an offset formula for the reference in a relative reference | Excel Worksheet Functions | |||
Using cell reference and wildcards in a forumla | Excel Discussion (Misc queries) | |||
Is there a forumla to link an absolute cell reference in multiple. | Excel Worksheet Functions |