elias@prespa
New Member
hello everyone
i have this code in vb
Function DateAndTime()
DateAndTime = Now
End Function
which i used to create a static date and time in this formula
=IF(K12="","Deb",IF(K12="Pag.",DateAndTime(),IF(K12="Larg.",DateAndTime())))
and it works ok but when i filter the collumn by date all the dates on the workbook change to current date and time.
How can i stop this happening?
i have this code in vb
Function DateAndTime()
DateAndTime = Now
End Function
which i used to create a static date and time in this formula
=IF(K12="","Deb",IF(K12="Pag.",DateAndTime(),IF(K12="Larg.",DateAndTime())))
and it works ok but when i filter the collumn by date all the dates on the workbook change to current date and time.
How can i stop this happening?