Spell-check in a TextBox?

A

AlEdlund

Paul,
Have you ever called it from code? Can the appropriate dictionary be set up
via code? Can it touch shape data also?
Just curious,
al
 
J

JuneTheSecond

Then, another idea.
1. Copy text in textbox to the Visio.shape
2. Start spell ceck with DoCmd.
3. Chek and edit spell with dialogs.
4. Retrn text to TextBox.

My test code is
Private Sub CommandButton1_Click()
On Error Resume Next
ActivePage.Shapes(1).Text = TextBox1.Text
Application.DoCmd 1270
TextBox1.Text = ActivePage.Shapes(1).Text
End Sub
 
P

Paul Herber

Paul,
Have you ever called it from code? Can the appropriate dictionary be set up
via code? Can it touch shape data also?


Junichi's code seems to say yes, but not for shape data. I've never
used the spell check myself, most diagrams I create don't contain
anything much like recognisable English.
 

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