Can ANY of you get SENDKEYS action to work in 2003??

G

Guest

Try to write a simple macro that can send some keystrokes to a text box in a
form.

Create a Macro "test" that has 2 actions.
1) GoToControl {Name: Textbox0}
2) Sendkeys: "Test to see if this text is sent to this control" (with or
without the quotes)

Create a simple form with a textbox named textbox0
Put a command button on there and tell it onclick, to run the Macro "test"

Do you get an error too? I get an error saying I need to install a Utility
add-in. I have located the utility.mda add-in file in Microsoft access and
inserted it into the add-in manager, but with no improvement.
 
G

Guest

I haven't tried this, buy why not just write the VBA code, which is simpler
than the macro? Something like this:

TextBox0 = "Test to see if this text is sent to this control"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top