LokiOfGameSlave
Technical User
Using Excel97 ... I have created a spreadsheet / database with a number of buttons to do different things.
One of those buttons I have assigned to a macro called "Find". The coding (placed in Module2) is as follows:
Sub Find()
Application.SendKeys ("^{f}"
End Sub
The coding I have for the button to call the macro (in Sheet1) is:
Private Sub btn_Search_Click()
Call Find
End Sub
When I execute the macro directly in Module2 it works perfectly. BUT, when I go in to Excel and click the button (the one that I have assigned to my FIND macro), nothing happens.
Any ideas as to why?
The reason that I don't just click <CTRL> + "F" is that this spreadsheet is for my mother who is NOT very computer literate. I am trying to make buttons for everything that she will need to do, to make life easier for her. I make each of the button's captions easy for her to know what they do (ie - Search for someone's Last Name), etc..
I hope that is enough information.
Pronunciation: 'lO-kE
Function: noun
Etymology: Old Norse
Definition: a Norse god who contrives evil and mischief for his fellow gods
One of those buttons I have assigned to a macro called "Find". The coding (placed in Module2) is as follows:
Sub Find()
Application.SendKeys ("^{f}"
End Sub
The coding I have for the button to call the macro (in Sheet1) is:
Private Sub btn_Search_Click()
Call Find
End Sub
When I execute the macro directly in Module2 it works perfectly. BUT, when I go in to Excel and click the button (the one that I have assigned to my FIND macro), nothing happens.
Any ideas as to why?
The reason that I don't just click <CTRL> + "F" is that this spreadsheet is for my mother who is NOT very computer literate. I am trying to make buttons for everything that she will need to do, to make life easier for her. I make each of the button's captions easy for her to know what they do (ie - Search for someone's Last Name), etc..
I hope that is enough information.
Pronunciation: 'lO-kE
Function: noun
Etymology: Old Norse
Definition: a Norse god who contrives evil and mischief for his fellow gods