Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Ctrl Key Beep Beep Excel Discussion (Misc queries) 2 July 13th 07 04:22 PM
Anyone having Ctrl+C / Ctrl+V problems in E2007? Krzysztof Kruszynski Excel Discussion (Misc queries) 1 June 13th 07 01:41 PM
How to forbid ctrl+c and ctrl+X in sheet? GR Setting up and Configuration of Excel 2 December 24th 06 03:39 AM
CARET or ^, as in CTRL but CTRL !!! ??? Dutch Jam Excel Worksheet Functions 3 January 11th 06 03:26 PM
Esc Key Macro instead of Ctrl+... Dajana Excel Discussion (Misc queries) 2 November 29th 05 11:19 PM


All times are GMT +1. The time now is 11:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"