OO4O-Query on text file [message #628957] |
Mon, 01 December 2014 08:21 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
oteixeira
Messages: 33 Registered: May 2007
|
Member |
|
|
Hello to all,
I'm using OO4O and Excel 2007 on windows 7.
Normally i write my SQL statements whitin the VBA code. Now i have to use an huge query which is not easy to manipulate within the VBA code.
So my question is:
Is there a way of having the query on a text file and calling it from Excel VBA ?
Thank a lot in advance for any kind help.
Octavio
|
|
|
|
|
|
Re: OO4O-Query on text file [message #628961 is a reply to message #628960] |
Mon, 01 December 2014 08:45 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
oteixeira
Messages: 33 Registered: May 2007
|
Member |
|
|
Michel, thanks a lot for answering but i am not such an expert.
Can you please be so kind and give me some few lines of code of how to "load" the text file into a VBA variable?
Thanks again.
|
|
|
|
|
|