multiple formula editing

  • Thread starter Thread starter gemma
  • Start date Start date
G

gemma

hi i've set uo a work sheet to link to another i.e 'Week 1'!$C$6 , 'Week
1'!$D$6 and so on i want to change the multiple entries on the spread sheet
to pick up the data on "week2" spreadsheet so the forumal will read 'Week
2'!$D$6, is there a easier way to do this without going thru each cell and
manually changing the formula.
thanks
 
Well i ges that renaming sheet "Week 1" to "Week 2" isent fixing your problem
so try

Sub xChange()
Selection.SpecialCells(xlCellTypeFormulas, 23).Select
For Each c In Selection
c.Formula = Application.WorksheetFunction.Substitute(c.Formula, "Week 1",
"Week 2")
Next
End Sub


"gemma" skrev:
 

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

Similar Threads

Multiple Counting Criteria 3
formula issue 7
Formula Help 2
Average of absolute values of moving ranges 1
EXCEL FUNCTION OR FORMULA 13
Linking a reference within a formula 7
Running Percentage 1
Copy Constant Formula 3

Back
Top