Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-13-2020, 05:40 PM
gmaxey gmaxey is offline Check if a word exists in a list of words established in the vba code Windows 10 Check if a word exists in a list of words established in the vba code Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,598
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Code:
Private Sub CommandButton1_Click()
Dim palabra As String
  palabra = "Calcar,Citar,Encontrar,Enumerar,Etiquetar,Fijar,Localizar,Memorizar,Mostrar,Recitar,Recordar,Relatar,Repetir,Reproducir,Señalar,Subrayar,Comentar,Describir,Determinar,Dibujar,Diferenciar,Explicar,Expresar,Generalizar,Identificar,Ilustrar,Informar,Leer,Observar,Parafrasear,Reconocer,Resumir,Revisar,Secuenciar,Sintetizar"
  If InStr(palabra, TextBox1) > 0 Then
    MsgBox "Si Existe ese verbo:" & TextBox1
  Else
    MsgBox "No Existe ese verbo:" & TextBox1
  End If
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 

Tags
formulario, vba, word 2013



Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if a word exists in a list of words established in the vba code check for duplicates of a word within next 100 words sylvio Word VBA 19 06-27-2023 04:10 PM
Check if a word exists in a list of words established in the vba code Pass each of the rows from Excel to Word rtf in paragraphs in established order Visor Word VBA 5 06-30-2020 02:19 AM
How to find (highlight) two and more words in a list of 75k single words in Word 2010 Usora Word 8 05-29-2018 03:34 AM
Check if a word exists in a list of words established in the vba code Check if named Content Control field exists and add missing sylvio Word VBA 2 08-29-2017 04:08 AM
Check if a word exists in a list of words established in the vba code VBA Code for Grammar Check Not Working in Word 2016 PSSMargaret Word VBA 2 06-11-2016 10:53 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft