View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default How to enter time into cell using keypad only: MULTIPLE COLUMNS

There's a line in Chip's code that looks like this:

If Application.Intersect(Target, Range("A1:A10")) Is Nothing Then
Exit Sub
End If

Change it to whatever range you want:

If Application.Intersect(Target, _
Range("A1:A10,b7:q13,x9,z1:ai17")) Is Nothing Then
Exit Sub
End If

michaelberrier wrote:

I found Chip Pearson's excellent code for entering times without
having to use the ":" key, but I am only able to do it in a single
column. Is there a loop I can use so I can do it with multiple
columns? Trying to insert another column reference or another sub
generates an error.

Thanks!


--

Dave Peterson