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: 22,906
Default $ symbol in a formula

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

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

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

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


Gord Dibben MS Excel MVP

On Thu, 18 Sep 2008 07:39:02 -0700, RAB2685
wrote:

Is there a way to highlight a bunch of formula's and automatically have the $
sign added before the column identifier and the row identifier versus going
into ever formula in every cell and manually enteringr the $ sign before each
column or row indentifier? I understand the drag and auto fill which works
perfect since my worksheets are all set up in the same format, but now I'm
having to go into every cell to add the $ to lock where it is retrieving the
info. from - very time consuming - any suggestions?




 
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
What does the & symbol in a formula do? Dominic Excel Discussion (Misc queries) 2 April 24th 08 10:12 PM
What does a ^ symbol mean used in a formula timbrook Excel Discussion (Misc queries) 14 October 7th 06 07:39 AM
What does the $ symbol mean in a formula? S New Users to Excel 1 October 14th 05 05:30 AM
Using a Symbol in a formula. JB in Kansas Excel Discussion (Misc queries) 3 June 10th 05 08:07 PM
I need a symbol but "symbol" in the Insert menu is grayed-out. Nothappy Excel Discussion (Misc queries) 2 May 3rd 05 12:16 AM


All times are GMT +1. The time now is 03:31 AM.

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"