#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Absolute References

Regarding a recent post "Subject: Changing all formulae in a worksheet from
absolute to relative" the solution was a Macro that made all the references
relative or using Edit/Replace $/[blank].

Luckily for me (!) I want to make all the references in an array of cells
(not all containing consisten formula) absolute so I can copy them to a
further set of columns and then use edit/replace to point them at a different
worksheet.

You can do 'F4' for individual references but is there a way of doing it to
all references in selected cells without having to run a macro?

Thanks For any Help
Dan B
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Absolute References

Hi,

To go the other way I believe you need a macro. Right click the sheet tab,
view code and paste this in. Change the range to suit:-

Sub sistence_level_wages()
Dim MyRange As Range
Set MyRange = Range("A1:D100") ' Change to suit
For Each cell In MyRange
If cell.HasFormula Then
cell.Formula = Application.ConvertFormula(cell.Formula, xlA1,
xlA1, xlAbsolute)
End If
Next
End Sub

Mike

"Dan Beard" wrote:

Regarding a recent post "Subject: Changing all formulae in a worksheet from
absolute to relative" the solution was a Macro that made all the references
relative or using Edit/Replace $/[blank].

Luckily for me (!) I want to make all the references in an array of cells
(not all containing consisten formula) absolute so I can copy them to a
further set of columns and then use edit/replace to point them at a different
worksheet.

You can do 'F4' for individual references but is there a way of doing it to
all references in selected cells without having to run a macro?

Thanks For any Help
Dan B

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Absolute References


Thanks for your help - the Macro it is then.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Absolute sell references PowerPoint Jedi Excel Discussion (Misc queries) 4 February 1st 07 05:13 PM
Absolute references in a cell Glennk Excel Discussion (Misc queries) 1 January 23rd 07 03:28 PM
Absolute References [email protected] Excel Worksheet Functions 1 November 29th 06 12:41 AM
replace absolute references BorisS Excel Worksheet Functions 1 May 20th 05 07:23 PM
replace absolute references bj Excel Worksheet Functions 0 May 20th 05 07:18 PM


All times are GMT +1. The time now is 06:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"