Gurus,
I'm trying to put a sum formula is some cells by running a macro. The formula that has to be put into the cells sums a range that is located in another workbook. The name of this workbook will vary. The workbook is open at the time the code should put the sum formula into the required cells.
How do i put together the vba code?
an example of the formula that has to be writen into the cell is:
Thanks for any help!
I'm trying to put a sum formula is some cells by running a macro. The formula that has to be put into the cells sums a range that is located in another workbook. The name of this workbook will vary. The workbook is open at the time the code should put the sum formula into the required cells.
How do i put together the vba code?
an example of the formula that has to be writen into the cell is:
Code:
"=-SUM([Omzet2011tot_02.xls]Maand!R33C2:R33C25)"