LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Keeping links Static

Gord Dibben <gorddibbATshawDOTca wrote...
You can copy/paste this routine to a general module in your workbook then
run it on any range you select.

Sub Absolute()
Dim Cell As Range
* For Each Cell In Selection
* * If Cell.HasFormula Then
* * * Cell.Formula = Application.ConvertFormula _
* * * (Cell.Formula, xlA1, xlA1, xlAbsolute)
* * End If
* Next
End Sub

....

Tangent: OpenOffice Calc 3.1 can handle this using regular expressions
by replacing

\<([A-Z]+)([0-9]+)\

with

\$$1\$$2

Wouldn't it be nice if Excel provided regular expressions?


 
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
Copying a forumula to many cells -but keeping one element static Karl Excel Worksheet Functions 2 June 22nd 07 03:32 PM
Keeping Links from Breaking Bill Excel Discussion (Misc queries) 0 April 24th 06 02:40 AM
keeping a sum array static cmattmills Excel Worksheet Functions 4 February 8th 06 05:45 PM
keeping formulas static when cutitng and pasting associated celldata ben New Users to Excel 2 October 28th 05 01:10 AM
Right Filling A Formula Whilst Keeping A Static Column kevtherev Excel Discussion (Misc queries) 4 September 29th 05 10:18 PM


All times are GMT +1. The time now is 02:55 PM.

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

About Us

"It's about Microsoft Excel"