Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2005

Tip: Looking for answers? Try searching our database.

Automatically clear a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brandon - 17 Sep 2005 04:40 GMT
I'd like to know how/if it is possible to automatically clear a cell when
the user presses the Enter key.  Any thoughts?
Ron de Bruin - 17 Sep 2005 10:21 GMT
This is possible but I think a strange way of deleting a cell

See application.onkey in the VBA help and run a macro like this

activecell.clearcontents

Signature

Regards Ron de Bruin
http://www.rondebruin.nl

> I'd like to know how/if it is possible to automatically clear a cell when the user presses the Enter key.  Any thoughts?
Earl Kiosterud - 18 Sep 2005 01:33 GMT
Brandon,

It could certainly be done via a macro.  But you need to tell us more.
Certainly you don't want the Enter key to delete any cell you happen to be
in.  Which cell?  Certain column(s) only?  Row(s)?  Only a certain sheet?
Only on odd days of the month?  Waxing moon only?  ???

Earl Kiosterud
www.smokeylake.com

> I'd like to know how/if it is possible to automatically clear a cell when
> the user presses the Enter key.  Any thoughts?
BlueDaze - 22 Sep 2005 08:58 GMT
What was in the cell that is being cleared, and how did it get there

--
BlueDaz
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.