ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Setting Funtion Value to Cell (https://www.excelbanter.com/excel-programming/370858-setting-funtion-value-cell.html)

al

Setting Funtion Value to Cell
 
I made a macro that does an autofiler and then subtotals the results. The
problem is that the value is set to the active cell and if I change the
filter after the macro is run, the value changes. How do I set the value of
the subtotal permanently to a cell?

Thanks

JMB

Setting Funtion Value to Cell
 
Try
Range("A1").Value = Range("A1").Value


"Al" wrote:

I made a macro that does an autofiler and then subtotals the results. The
problem is that the value is set to the active cell and if I change the
filter after the macro is run, the value changes. How do I set the value of
the subtotal permanently to a cell?

Thanks



All times are GMT +1. The time now is 08:48 PM.

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