Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Changing function key definition to insert time

We use Excel at work and now due to some changes in procedures, we are
required to insert a start and stop time for our testing procedures. While I
know about the control + shift + : to insert time, I was hoping for someway
to change a function key to do this. We have numerous people doing this
testing and it would make life alot easier to just hit one key instead of the
three
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Changing function key definition to insert time

One way to do it would be to have an add-in installed with the line:

Application.OnKey "{F8}", "TimeAdder"

in its WorkBook_Open event, and in its Module, the Sub:

Sub TimeAdder()
ActiveCell.Value = Time
End Sub

This would replace the F8 function with this Sub's function.


MedTech wrote:
We use Excel at work and now due to some changes in procedures, we are
required to insert a start and stop time for our testing procedures. While I
know about the control + shift + : to insert time, I was hoping for someway
to change a function key to do this. We have numerous people doing this
testing and it would make life alot easier to just hit one key instead of the
three


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Changing function key definition to insert time

Now realize that I work with excel and know a little, but doing macros and
visual basic is totally new to me. When you say to have a add in installed...
just how and where do I do this.

"JakeyC" wrote:

One way to do it would be to have an add-in installed with the line:

Application.OnKey "{F8}", "TimeAdder"

in its WorkBook_Open event, and in its Module, the Sub:

Sub TimeAdder()
ActiveCell.Value = Time
End Sub

This would replace the F8 function with this Sub's function.


MedTech wrote:
We use Excel at work and now due to some changes in procedures, we are
required to insert a start and stop time for our testing procedures. While I
know about the control + shift + : to insert time, I was hoping for someway
to change a function key to do this. We have numerous people doing this
testing and it would make life alot easier to just hit one key instead of the
three



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Changing function key definition to insert time

An Add-In is simply a standard workbook, but saved as an Add-in (.xla)
instead of the normal .xls so it is 'invisible' when in use. You can
set this option (along with Html, CSV, etc.) during SaveAs.

To install an Add-In, go to Tools - Add-ins and use Browse... to find
the .xla file you saved. Make sure there's a check in the box next to
it in the list of Add-Ins and you're ready to go.

Check Help (F1) for more detailed info.


MedTech wrote:
Now realize that I work with excel and know a little, but doing macros and
visual basic is totally new to me. When you say to have a add in installed...
just how and where do I do this.

"JakeyC" wrote:

One way to do it would be to have an add-in installed with the line:

Application.OnKey "{F8}", "TimeAdder"

in its WorkBook_Open event, and in its Module, the Sub:

Sub TimeAdder()
ActiveCell.Value = Time
End Sub

This would replace the F8 function with this Sub's function.


MedTech wrote:
We use Excel at work and now due to some changes in procedures, we are
required to insert a start and stop time for our testing procedures. While I
know about the control + shift + : to insert time, I was hoping for someway
to change a function key to do this. We have numerous people doing this
testing and it would make life alot easier to just hit one key instead of the
three




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Changing function key definition to insert time

Thanks, I'll give this a try


"JakeyC" wrote:

An Add-In is simply a standard workbook, but saved as an Add-in (.xla)
instead of the normal .xls so it is 'invisible' when in use. You can
set this option (along with Html, CSV, etc.) during SaveAs.

To install an Add-In, go to Tools - Add-ins and use Browse... to find
the .xla file you saved. Make sure there's a check in the box next to
it in the list of Add-Ins and you're ready to go.

Check Help (F1) for more detailed info.


MedTech wrote:
Now realize that I work with excel and know a little, but doing macros and
visual basic is totally new to me. When you say to have a add in installed...
just how and where do I do this.

"JakeyC" wrote:

One way to do it would be to have an add-in installed with the line:

Application.OnKey "{F8}", "TimeAdder"

in its WorkBook_Open event, and in its Module, the Sub:

Sub TimeAdder()
ActiveCell.Value = Time
End Sub

This would replace the F8 function with this Sub's function.


MedTech wrote:
We use Excel at work and now due to some changes in procedures, we are
required to insert a start and stop time for our testing procedures. While I
know about the control + shift + : to insert time, I was hoping for someway
to change a function key to do this. We have numerous people doing this
testing and it would make life alot easier to just hit one key instead of the
three






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Changing function key definition to insert time

well, 3 of us has tried to enter this and none of us can get it to work. Can
you go thru this step by step to see where we screwed up in the entering..

"MedTech" wrote:

Thanks, I'll give this a try


"JakeyC" wrote:

An Add-In is simply a standard workbook, but saved as an Add-in (.xla)
instead of the normal .xls so it is 'invisible' when in use. You can
set this option (along with Html, CSV, etc.) during SaveAs.

To install an Add-In, go to Tools - Add-ins and use Browse... to find
the .xla file you saved. Make sure there's a check in the box next to
it in the list of Add-Ins and you're ready to go.

Check Help (F1) for more detailed info.


MedTech wrote:
Now realize that I work with excel and know a little, but doing macros and
visual basic is totally new to me. When you say to have a add in installed...
just how and where do I do this.

"JakeyC" wrote:

One way to do it would be to have an add-in installed with the line:

Application.OnKey "{F8}", "TimeAdder"

in its WorkBook_Open event, and in its Module, the Sub:

Sub TimeAdder()
ActiveCell.Value = Time
End Sub

This would replace the F8 function with this Sub's function.


MedTech wrote:
We use Excel at work and now due to some changes in procedures, we are
required to insert a start and stop time for our testing procedures. While I
know about the control + shift + : to insert time, I was hoping for someway
to change a function key to do this. We have numerous people doing this
testing and it would make life alot easier to just hit one key instead of the
three




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Changing function key definition to insert time

If you email me, I'll reply later today with the add-in attached for
you to install.


MedTech wrote:
well, 3 of us has tried to enter this and none of us can get it to work. Can
you go thru this step by step to see where we screwed up in the entering..

"MedTech" wrote:

Thanks, I'll give this a try


"JakeyC" wrote:

An Add-In is simply a standard workbook, but saved as an Add-in (.xla)
instead of the normal .xls so it is 'invisible' when in use. You can
set this option (along with Html, CSV, etc.) during SaveAs.

To install an Add-In, go to Tools - Add-ins and use Browse... to find
the .xla file you saved. Make sure there's a check in the box next to
it in the list of Add-Ins and you're ready to go.

Check Help (F1) for more detailed info.


MedTech wrote:
Now realize that I work with excel and know a little, but doing macros and
visual basic is totally new to me. When you say to have a add in installed...
just how and where do I do this.

"JakeyC" wrote:

One way to do it would be to have an add-in installed with the line:

Application.OnKey "{F8}", "TimeAdder"

in its WorkBook_Open event, and in its Module, the Sub:

Sub TimeAdder()
ActiveCell.Value = Time
End Sub

This would replace the F8 function with this Sub's function.


MedTech wrote:
We use Excel at work and now due to some changes in procedures, we are
required to insert a start and stop time for our testing procedures. While I
know about the control + shift + : to insert time, I was hoping for someway
to change a function key to do this. We have numerous people doing this
testing and it would make life alot easier to just hit one key instead of the
three





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
Insert Function next to formula bar gives Run-time Error '50290' Nick Excel Discussion (Misc queries) 0 July 7th 08 03:41 PM
definition of a formula and function? showsomeidnow[_2_] Excel Discussion (Misc queries) 6 May 6th 07 09:40 AM
Automatically insert time without changing. Joker Excel Discussion (Misc queries) 1 February 16th 06 03:27 PM
Definition of a statistical function (CQC) in Excel (maybe with VBA...) uriel78 Excel Programming 5 March 8th 05 06:03 PM
Definition of a statistical function (CQC) in Excel uriel78 Excel Worksheet Functions 0 March 2nd 05 07:30 PM


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