ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copying formula from one cell to a range (https://www.excelbanter.com/excel-programming/378030-copying-formula-one-cell-range.html)

John Smith

copying formula from one cell to a range
 
I need to fill a range of cells with a relative formula. What I'm
looking for is something like this:

sheet.range.formula = sheet.cells.formula

I know one can copy formula from one cell to another, and from one
range to another (if dimensions are identical). But how does one
copy formula for one cell to a range? Any help is highly appreciated.

Stopher

copying formula from one cell to a range
 

John Smith wrote:
I need to fill a range of cells with a relative formula. What I'm
looking for is something like this:

sheet.range.formula = sheet.cells.formula

I know one can copy formula from one cell to another, and from one
range to another (if dimensions are identical). But how does one
copy formula for one cell to a range? Any help is highly appreciated.


How about copy the formula, selct the range and then paste?



All times are GMT +1. The time now is 10:38 PM.

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