Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel VBA - Form Textboxes - spellchecking 1

Status
Not open for further replies.

p20nty

Computer
Joined
Mar 14, 2005
Messages
2
Location
GB
Hi,
Ive programmed a Form in Excel with (amoungst combo boxes etc) which 'data links' to a specific cell containing in the Excel spreadsheet ('Field' in Access). The form acts as a User Interface and works well - you can navigate between each row (record) and add/delete/amend data and data validation can be carried out programatically. However I want to spell-check the text entered into the text box by the user, using a command button on the form. Is this possible in Excel. If so how do you do it?
Please help. Best regards.
Mike
 
Use VBA's object browser and look for a "range" object. This object has a method called "checkspelling". You will most likely have to copy the textbox text to a cell, check the spelling, and then copy this back to the textbox.
 
Hi jcfoley,
Many thanks for your helpful advice/solution. Implemented OK.
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top