Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi all i'm trying to create some code that will change all the formulae on a certain sheet because i am using the Indirect function i dont want to have to change 3000 formulae manually so i was hoping i could get this right......but i am having trouble.....Any ideas? Regards, Simon Sub frmlaChng() Dim mycell Dim rng As Range Dim r Set rng = Range("PriceForm") With Sheets("summary sheet") r = "F" & mycell.Row.Number For Each mycell In rng mycell.Text = "=VLOOKUP(INDIRECT(" & r & "),EventList,2,FALSE)" Next mycell End With End Sub -- Simon Lloyd ------------------------------------------------------------------------ Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708 View this thread: http://www.excelforum.com/showthread...hreadid=563936 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change the name of a worksheet/update VBA code | Excel Discussion (Misc queries) | |||
Code Conflicts With Worksheet Change Code | Excel Programming | |||
Code to run on worksheet selection change | Excel Programming | |||
Code not working after worksheet change. | Excel Programming | |||
Worksheet change code | Excel Programming |