Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Absolute References (Excel 97)
Hi,
Is there a quick way to change all the references within a wooksheet to absolute references? Either a function or a VB script? thanks, |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Absolute References (Excel 97)
I did a search and found this......
sub ProcessData() for each cell in Range("A1:A5000") s = cell.formula s1 = Application.ConvertFormula( _ formula:=s, _ fromReferenceStyle:=xlA1, _ toReferenceStyle:=xlA1, _ ToAbsolute:=xlAbsolute) cell.Formula = s1 Next End Sub Change A1:A5000 to the range you want to process. Test this on a copy of your data and make sure it does what you want. -- Regards, Tom Ogilvy "Phendrena" wrote: Hi, Is there a quick way to change all the references within a wooksheet to absolute references? Either a function or a VB script? thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel insits that I use absolute cell references | Excel Discussion (Misc queries) | |||
Help with converting a block of cells with Absolute and mixed references to relative references | Excel Worksheet Functions | |||
Excel - copy absolute cell references (within the range) as relati | Excel Discussion (Misc queries) | |||
Quick method to add absolute references in Excel using keyboard | Excel Discussion (Misc queries) | |||
Pivot tables Excel 2003 absolute references | Excel Discussion (Misc queries) |