Using msoControlEdit in CommandBars

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I would like to add a "Find" feature to my Command Bar. I know how to add
the .control that shows a "Text" Field. What I need to know is how to
program my .OnAction so that it goes to a field and searches for the text
I've entered.

I have scoured all MS online resources for how to program with
msoControlEdit. Everything says you can use it but NOTHING explains HOW to
use it. I guess MS assumes we are born with this knowledge and they don't
actually need to tell us. It's like reading a manual of fixing transmissions
and the manual says "to fix the transmission, you simply fix the
transmission, any questions?..."

Lol, cmon guys, help us poor programmers out here.
 
Create a public function in a standard module, e.g. "MyFunction".
Then assign that function to the OnAction property of the new control as
=MyFunction()

If you need more details than that, please post back with a more detailed
question.
 
Back
Top