What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-09-11 04:31:02
excel vba check if a string contains another string
'Use VBA's InStr() function to check 'if a string contains another: MsgBox InStr("Excel Hero", "Hero") 'Displays: 7 MsgBox InStr("Excel Hero", "hero") 'Displays: 0 MsgBox InStr("Excel Hero", "hero&... Add solution -
VBA 2021-08-27 07:27:02
office vba like operator
'VBA's Like operator can be used to determine if 'one string is contained in another: MsgBox "Excel Hero" Like "*Hero" 'Displays: True 'Notice that 'Find' supports wild card characters. 'Full documentation: ' https://docs.micro... Add solution