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 / New Users / January 2008

Tip: Looking for answers? Try searching our database.

changing from relative to absolute references

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
brian.baker13@googlemail.com - 07 Jan 2008 21:01 GMT
Hi

I have 8 sheets of relative references that I need to change to
absolute references. Can I change these in one go please?

Thanks

Brian
Tyro - 07 Jan 2008 21:18 GMT
Out of curiosity, why do you need to do this?

Tyro

> Hi
>
[quoted text clipped - 4 lines]
>
> Brian
Bob Phillips - 07 Jan 2008 21:39 GMT
Dim sh As Worksheet
Dim cell As Range

   For Each sh In ActiveWorkbook.Worksheets

       For Each cell In sh.UsedRange

           If cell.HasFormula Then

               cell.Formula = Application.ConvertFormula( _
                   cell.Formula, toabsolute:=xlAbsolute)
           End If
       Next cell
   Next sh

Signature

---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Hi
>
[quoted text clipped - 4 lines]
>
> Brian
 
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.