Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 63
Default How to enter time into cell using keypad only: MULTIPLE COLUMNS

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!
  #2   Report Post  
Posted to microsoft.public.excel.misc
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
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
Enter multiple numbers in a cell so total shows when enter keypres newbie Excel Worksheet Functions 2 August 19th 07 12:23 PM
Lost ability to enter Carriage Returns using numeric keypad RichardSchollar Excel Discussion (Misc queries) 3 January 22nd 07 06:36 PM
how do I make a multiple columns in a single space? (press enter Will Excel Discussion (Misc queries) 1 November 12th 06 05:02 AM
HOW DO I enter today on a laptop that has no numeric keypad bency Excel Discussion (Misc queries) 1 August 24th 05 12:22 AM
enter a time into a cell, have the cell show two times the entry johnp Excel Worksheet Functions 3 May 2nd 05 12:08 AM


All times are GMT +1. The time now is 03:51 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"