Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Function Access Keys

I am wondering if it possible to add use of the f keys during excel vba? if
so how or where do I look this up?

Thanks

Greg B

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Function Access Keys

Application.OnKey "{F10}", "myProc"


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Greg B" wrote in message
...
I am wondering if it possible to add use of the f keys during excel vba?
if so how or where do I look this up?

Thanks

Greg B



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Function Access Keys

Sorry just to go on with this a bit, I have tried what you wrote and
nothing is happening.

What I am trying to do is have another userform open when the f2 key is
pressed.

the userform title is "sales"

Thanks again

"Bob Phillips" wrote in message
...
Application.OnKey "{F10}", "myProc"


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Greg B" wrote in message
...
I am wondering if it possible to add use of the f keys during excel vba?
if so how or where do I look this up?

Thanks

Greg B



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Function Access Keys

Works for me

Sub SetupF2()
Application.OnKey "{F2}", "OpenForm"
End Sub

Sub OpenForm()
UserForm1.Show
End Sub


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Greg B" wrote in message
...
Sorry just to go on with this a bit, I have tried what you wrote and
nothing is happening.

What I am trying to do is have another userform open when the f2 key is
pressed.

the userform title is "sales"

Thanks again

"Bob Phillips" wrote in message
...
Application.OnKey "{F10}", "myProc"


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Greg B" wrote in message
...
I am wondering if it possible to add use of the f keys during excel vba?
if so how or where do I look this up?

Thanks

Greg B





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Function Access Keys

Thanks I got it working from the spreadsheet code, Is it possible to get it
working from the userform called main.

Sorry to be annoying.

Greg B

"Bob Phillips" wrote in message
...
Works for me

Sub SetupF2()
Application.OnKey "{F2}", "OpenForm"
End Sub

Sub OpenForm()
UserForm1.Show
End Sub


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Greg B" wrote in message
...
Sorry just to go on with this a bit, I have tried what you wrote and
nothing is happening.

What I am trying to do is have another userform open when the f2 key is
pressed.

the userform title is "sales"

Thanks again

"Bob Phillips" wrote in message
...
Application.OnKey "{F10}", "myProc"


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Greg B" wrote in message
...
I am wondering if it possible to add use of the f keys during excel vba?
if so how or where do I look this up?

Thanks

Greg B






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Function Access Keys

Don't understand what you mean exactly.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Greg B" wrote in message
...
Thanks I got it working from the spreadsheet code, Is it possible to get
it working from the userform called main.

Sorry to be annoying.

Greg B

"Bob Phillips" wrote in message
...
Works for me

Sub SetupF2()
Application.OnKey "{F2}", "OpenForm"
End Sub

Sub OpenForm()
UserForm1.Show
End Sub


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Greg B" wrote in message
...
Sorry just to go on with this a bit, I have tried what you wrote and
nothing is happening.

What I am trying to do is have another userform open when the f2 key is
pressed.

the userform title is "sales"

Thanks again

"Bob Phillips" wrote in message
...
Application.OnKey "{F10}", "myProc"


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Greg B" wrote in message
...
I am wondering if it possible to add use of the f keys during excel
vba? if so how or where do I look this up?

Thanks

Greg B






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
Function Keys Not Working Heidi Excel Discussion (Misc queries) 3 March 5th 10 11:39 PM
Keys to access the tabs and commands on the screen Lu New Users to Excel 0 March 5th 10 11:31 AM
Excel 2003 Access Keys In 2007 knesbitt Excel Discussion (Misc queries) 0 April 10th 08 08:13 PM
Using function keys in macros Tha BeatMaker[_10_] Excel Programming 2 August 19th 05 07:56 PM
Function Keys in Excel LPS Excel Discussion (Misc queries) 2 January 29th 05 12:32 AM


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