![]() |
use CTRL key inside a macro IE CTRL + ;
I want to insert a static date into cell b2 based on what is in a2 [ =
if(a2="yes",today(),"nothing") The date changes when you open the program. I want to use CTRL key inside a macro IE CTRL + ; to put in a static date. |
use CTRL key inside a macro IE CTRL + ;
hi
is the formula in b2? this might work with out the control key. If Range("A2") = "yes" Then Range("B2") = Date Else Range("B2") = "Nothing" End If regards FSt1 "Date Less" wrote: I want to insert a static date into cell b2 based on what is in a2 [ = if(a2="yes",today(),"nothing") The date changes when you open the program. I want to use CTRL key inside a macro IE CTRL + ; to put in a static date. |
All times are GMT +1. The time now is 12:05 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com