#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Need Formula

Need a formula that inserts a check mark into a cell if the Enter key is hit.
If Enter key is not hit leave cell blank.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Need Formula

Enter these two macros:

Sub Macro1()
ActiveCell.Value = "P"
ActiveCell.Font.Name = "Wingdings 2"
End Sub

Sub Macro2()
Application.OnKey "{ENTER}", "Macro1"
End Sub

then run Macro2. Whenever you touch the ENTER key on the numeric keypad, a
check mark will be entered. These leaves the main ENTER key available for
normal uses.
--
Gary''s Student - gsnu200836


"rgodchaux" wrote:

Need a formula that inserts a check mark into a cell if the Enter key is hit.
If Enter key is not hit leave cell blank.

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



All times are GMT +1. The time now is 09:01 AM.

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

About Us

"It's about Microsoft Excel"