ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Offsetting formula results (https://www.excelbanter.com/excel-programming/348817-offsetting-formula-results.html)

Patrick Simonds

Offsetting formula results
 
I would like to place the formula below in cell D29 and have the result show
in cell C29. There can be no formula in cell C29. Is this possible?



Norman Jones

Offsetting formula results
 
Hi Patrick,

Try:

'=============
Private Sub Worksheet_Calculate()
Me.Range("C29").Value = Me.Range("D29")
End Sub
'<<=============

This is worksheet event code and should be pasted into the worksheets's code
module (not a standard module and not the workbook's ThisWorkbook module):

---
Regards,
Norman



"Patrick Simonds" wrote in message
...
I would like to place the formula below in cell D29 and have the result
show in cell C29. There can be no formula in cell C29. Is this possible?





Patrick Simonds

Offsetting formula results
 
Thank you that did the trick


"Norman Jones" wrote in message
...
Hi Patrick,

Try:

'=============
Private Sub Worksheet_Calculate()
Me.Range("C29").Value = Me.Range("D29")
End Sub
'<<=============

This is worksheet event code and should be pasted into the worksheets's
code module (not a standard module and not the workbook's ThisWorkbook
module):

---
Regards,
Norman



"Patrick Simonds" wrote in message
...
I would like to place the formula below in cell D29 and have the result
show in cell C29. There can be no formula in cell C29. Is this possible?








All times are GMT +1. The time now is 12:14 PM.

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