SQL to VBA

Status
Not open for further replies.

midmented

DP Programmer
Local time
Today, 04:29
Joined
Jun 5, 2008
Messages
94
I don't know who originally wrote this but I use it all the time for formatting SQL to a VBA SQL statement. I modified the conversion of vbCrLf to VbNewLine. (The old form is still there) I read somewhere that VbNewLine was just a little faster than the vbCrLf. Who knows?
It could use a little more modification that I haven't done yet. Like: Automatically copying the new statement to the clipboard. (You have to use Ctrl+C after highlighting)

Hope someone uses it as much as I do!
 

Attachments

Status
Not open for further replies.

Users who are viewing this thread

Back
Top Bottom