Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2006

Tip: Looking for answers? Try searching our database.

changing from relative to absolute cell reference in multiple form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JAaron - 22 May 2006 07:18 GMT
Is there a way to change relative cell refernces in multiple formulas from
relative to absolute all at the same time, rather than highlighting refernce
and hitting F4 and changing them one at a time.  I have to change several
hundred formula references from relative to absolute.
Ardus Petus - 22 May 2006 08:06 GMT
Sub AbsFormula()
   Dim rcell As Range
   For Each rcell In ActiveSheet.UsedRange.SpecialCells(xlFormulas)
       rcell.Formula = Application.ConvertFormula( _
           rcell.Formula, xlA1, xlA1, xlAbsolute)
    Next rcell
End Sub

HTH
--
AP

> Is there a way to change relative cell refernces in multiple formulas from
> relative to absolute all at the same time, rather than highlighting
> refernce
> and hitting F4 and changing them one at a time.  I have to change several
> hundred formula references from relative to absolute.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.