ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   global vs relative format (https://www.excelbanter.com/excel-worksheet-functions/109776-global-vs-relative-format.html)

globallinker

global vs relative format
 
i am linking cells in a workbook to another workbook. the link gives me the
$c$45 format which does not allow me to copy to other cells that are
contiguous.

how and where do you change the format so it gives you c45 as the reference
when linking?

thanks.

tim m

global vs relative format
 
F4 will cycle you through the various types of references.

"globallinker" wrote:

i am linking cells in a workbook to another workbook. the link gives me the
$c$45 format which does not allow me to copy to other cells that are
contiguous.

how and where do you change the format so it gives you c45 as the reference
when linking?

thanks.


Gord Dibben

global vs relative format
 
I don't believe you can change the default to relative cell references.

To change one cell at a time select the address in the formula bar then use F4
to cycle through to options.

To change all copied cells at once from absolute to relative use this macro.

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 Wed, 13 Sep 2006 07:51:02 -0700, globallinker
wrote:

i am linking cells in a workbook to another workbook. the link gives me the
$c$45 format which does not allow me to copy to other cells that are
contiguous.

how and where do you change the format so it gives you c45 as the reference
when linking?

thanks.


Gord Dibben MS Excel MVP


All times are GMT +1. The time now is 05:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com