Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Susan A at Millennium Medical
 
Posts: n/a
Default How to chnge 35 relative cells to 35 absolute cells at one time.

Can you change a massive amount of relative cells on one spread work sheet to
absolute without going into each cell and hitting F4?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben
 
Posts: n/a
Default How to chnge 35 relative cells to 35 absolute cells at one time.

Susan

By VBA only.


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)
End If
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)
End If
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)
End If
Next
End Sub


Gord Dibben MS Excel MVP

On Mon, 6 Mar 2006 12:15:31 -0800, Susan A at Millennium Medical <Susan A at
Millennium wrote:

Can you change a massive amount of relative cells on one spread work sheet to
absolute without going into each cell and hitting F4?


Gord Dibben MS Excel MVP
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Susan A at Millennium Medical
 
Posts: n/a
Default How to chnge 35 relative cells to 35 absolute cells at one time.

Gord,
Thank you very much!
Have a good day.
Susan.

"Susan A at Millennium Medical" wrote:

Can you change a massive amount of relative cells on one spread work sheet to
absolute without going into each cell and hitting F4?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben
 
Posts: n/a
Default How to chnge 35 relative cells to 35 absolute cells at one time.

Thanks for the feedback. Always appreciated.

Gord

On Tue, 7 Mar 2006 04:11:27 -0800, Susan A at Millennium Medical
om wrote:

Gord,
Thank you very much!
Have a good day.
Susan.

"Susan A at Millennium Medical" wrote:

Can you change a massive amount of relative cells on one spread work sheet to
absolute without going into each cell and hitting F4?


Gord Dibben MS Excel MVP
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
Copying a work sheet cell reference as relative not absolute? Velson Excel Discussion (Misc queries) 4 January 7th 06 01:46 PM
Cells with time format and calculating the diffrence MikeR-Oz New Users to Excel 11 January 3rd 06 10:11 AM
how to change absolute path to relative path hwijgerse Excel Worksheet Functions 0 November 25th 05 07:18 AM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
split combined Time Date cells Mark Ada Excel Discussion (Misc queries) 2 December 1st 04 03:06 AM


All times are GMT +1. The time now is 08:30 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"