Adding to AutoComplete programmatically

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

Guest

Dear Group

Is it possible to add words to AutoComplete programmatically (VBA or C#)

Best regards

Jim...
 
Jim

Do you mean Autocorrect?

If so the following should do it:

Application.AutoCorrect.AddReplacement What:="Eg",
Replacement:="Example"

HTH

Edgar
 
Hi Edgar

Nope, not AutoCorrect.

I want words to complete automatically when you start typing them. However, I'd like the application to have a pre-buffered list when the sheet is opened.

I've been looking for a keyboard event trigger other than OnKey. This method fires macros. I'd like something that triggers a keyboard event across my C# automated application

Best regards

Jim...
 
If you are talking about the intellisense action of completing a word when
typed below a list with a similar word, this is internal to excel. It is
based solely on the proximity entries in that column.

--
Regards,
Tom Ogilvy


Jim McLeod said:
Hi Edgar,

Nope, not AutoCorrect.

I want words to complete automatically when you start typing them.
However, I'd like the application to have a pre-buffered list when the sheet
is opened.
I've been looking for a keyboard event trigger other than OnKey. This
method fires macros. I'd like something that triggers a keyboard event
across my C# automated application.
 

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

Back
Top