Question : VB - automatic date entry in excel

I want an automatic date entry in a separate cell when another cell is updated.  I can get this by using '=IF(Cell>0,TODAY(),"N/A")',
Unfortunately the date changes everyday and I want it to stay static, which after a bit of research I believe can only be achieved using a formula in VBA.

Does anyone know how to do this?

Answer : VB - automatic date entry in excel

You mean on the last column? Do you mean


SELECT top 12 CONVERT(VARCHAR, DATEADD(month, DATEDIFF(month, 0, fldStart), 0), 106) as fldDate ,sum([fldClosedOnTime]),sum([fldassignedclosed]), 1.0*SUM([fldClosedOnTime])/Sum([fldassignedclosed])  FROM [KPI].[dbo].[viewSAPrepProjectBSC] where DATEADD(month, DATEDIFF(month, 0, fldStart), 0) <= DATEADD(month, DATEDIFF(month, 0, getdate()), 0) group by DATEADD(month, DATEDIFF(month, 0, fldStart), 0) order by DATEADD(month, DATEDIFF(month, 0, fldStart), 0)
Random Solutions  
 
programming4us programming4us