Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Chg Absolute to Relative


I am in need of VBA that will convert a selected cell's formula fro
using absolute references to using relative references. I only want i
to change the active cell. Please help I know very little VBA.

Thanks! :confused

--
Adresmit
-----------------------------------------------------------------------
Adresmith's Profile: http://www.excelforum.com/member.php...nfo&userid=913
View this thread: http://www.excelforum.com/showthread.php?threadid=27367

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Chg Absolute to Relative

With ActiveCell
.Formula = Application.ConvertFormula(.Formula, xlA1, xlA1,
xlRelative)
End With

--

HTH

RP

"Adresmith" wrote in message
...

I am in need of VBA that will convert a selected cell's formula from
using absolute references to using relative references. I only want it
to change the active cell. Please help I know very little VBA.

Thanks!


--
Adresmith
------------------------------------------------------------------------
Adresmith's Profile:

http://www.excelforum.com/member.php...fo&userid=9131
View this thread: http://www.excelforum.com/showthread...hreadid=273679



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 & relative references zzulu4 Excel Discussion (Misc queries) 2 April 1st 09 05:54 PM
Relative and absolute hyperlinks Musette New Users to Excel 2 October 4th 07 06:47 AM
name range from absolute to relative WCO Excel Worksheet Functions 9 December 13th 06 08:13 PM
changing relative to absolute Paul Excel Discussion (Misc queries) 2 April 20th 06 08:09 PM
Absolute vs Relative path K2H Excel Discussion (Misc queries) 2 July 28th 05 12:50 PM


All times are GMT +1. The time now is 05:15 PM.

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"