Syntax (Missing operator) error saving string contents to variable with RunSQL in VBA
问题 I'm trying to take selected text from a text box and save the string to a table. There's only one row to the table, and the other variables ( SelectionStart , SelectionLength ) are able to save to the table without issue. When it gets to the third RunSQL command, I get the error: Run-Time error '3075': Syntax error (missing operator) in query expression and ends with the selected text. Sub ArticleTextContentBox_Click() Dim SelectionStart As String Dim SelectionLength As String Dim