Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Fill cell on exit?

Hi,

Is it possible to have a cell selected, as in, just the black box over it,
and then on moving my down on the arrow key for it to fill the square, with a
/ ??

It is for a teacher's register.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Fill cell on exit?

This will do it, but note detecting the direction of movement is not
possible, so moving down or up the column will result in the value in the
cell above changing. Set the Colum number you require this act on (where A=
1; B=2 etc)

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
if Target.Column = 1 then Target.Offset(-1, 0) = "/ ??"
End Sub

--
Cheers
Nigel



"PG Oriel" wrote in message
...
Hi,

Is it possible to have a cell selected, as in, just the black box over it,
and then on moving my down on the arrow key for it to fill the square,
with a
/ ??

It is for a teacher's register.

Thanks.



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
remove fill in text from a cell from an unpopulated fill-in cell Deb[_3_] Excel Worksheet Functions 1 September 22nd 09 03:28 PM
How do I exit on blank cell? [email protected] Excel Programming 2 May 3rd 06 10:10 PM
Macro on exit cell nonshedders Excel Discussion (Misc queries) 1 April 12th 06 12:41 PM
Run Macro on cell exit Kelly Excel Programming 7 May 5th 04 09:42 PM
If a called sub exit, how to the caller exit right away? luvgreen[_4_] Excel Programming 4 February 24th 04 05:06 PM


All times are GMT +1. The time now is 04:44 PM.

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"