A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

absolute refernces - range of cells



 
 
Thread Tools Display Modes
  #1  
Old December 1st, 2003, 07:45 PM
external usenet poster
 
Posts: n/a
Default absolute refernces - range of cells

I am trying to find an easy way to turn a range of cells
from relative references to absolute references without
going into each cell and hitting F4. Any ideas? Thanks
  #2  
Old December 1st, 2003, 08:03 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default absolute refernces - range of cells

You have to use a macro, press Alt + F11, click insertmodule and paste the
following

Sub ReltoAbs()
Dim Cell As Range
For Each Cell In Selection
Cell.Formula = Application.ConvertFormula(Cell.Formula, xlA1, xlA1,
xlAbsolute)
Next
End Sub

press Alt + Q to close VBE and select the range with formulas and press Alt
+ F8 to run the macro

--

Regards,

Peo Sjoblom

wrote in message
...
I am trying to find an easy way to turn a range of cells
from relative references to absolute references without
going into each cell and hitting F4. Any ideas? Thanks



  #3  
Old December 1st, 2003, 08:57 PM
external usenet poster
 
Posts: n/a
Default absolute refernces - range of cells

Thanks!


-----Original Message-----
You have to use a macro, press Alt + F11, click

insertmodule and paste the
following

Sub ReltoAbs()
Dim Cell As Range
For Each Cell In Selection
Cell.Formula = Application.ConvertFormula

(Cell.Formula, xlA1, xlA1,
xlAbsolute)
Next
End Sub

press Alt + Q to close VBE and select the range with

formulas and press Alt
+ F8 to run the macro

--

Regards,

Peo Sjoblom

wrote in message
...
I am trying to find an easy way to turn a range of cells
from relative references to absolute references without
going into each cell and hitting F4. Any ideas? Thanks



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:29 AM.


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