Easily create SQL queries and execute them on a database. For an example on how to use this library with data objects, see the VBA-Drupal-Library. For other examples on using the library, refer to the ...
A4セルにSQLを貼り付けてFormatボタンをクリックするとB4セルに整形後のSQLが出力されます。 Sub ButtonClick() Dim sql As String sql = Range("A4").Value sql = EmptyReplace(sql) sql = FormatSQL(sql) Do While InStr(sql, vbCrLf ...