• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Excel VBA Macros - ORA-03113: end-of-communication channel Error after some time

ManojN

New Member
Hello All,

I have an excel in which the active sheet has 20,000+ select queries in B columns and I have written VBA macro to execute those queries from all the B cells and write it in other rows for every select query. So, I should have 20000 rows of records written in excel. But unfortunately, after some time, I have got an error saying
Run-time error '-2147467259(80004005)':
ORA-03113: end-of-communication channel.

This error occurred at 1488th record. Please can I get help on how to rectify this.

Note: I'm connecting to Oracle 11g Database.
 

Attachments

  • ORA-03113.PNG
    ORA-03113.PNG
    8.3 KB · Views: 4
Hi ,

If your problem is not resolved after you have gone through the link suggested by Hui , post some additional information , as follows :

1. Have you run the macro multiple times , and does it always error out at the 1488th record , or does it error out at random records ?

2. Can you post the line of code which is generating the error , or even better , post the complete code for the macro ?

3. Are the queries the same in all cells in column B or are the queries all different ?

4. If the error always happens at the 1488th record , in addition to posting the code , can you post the contents of the relevant cells of this record ?

Narayan
 
Hello All,

Sorry for the late reply and thank you for all the support. This problem was due to an infinite loop error and was resolved.
 
Back
Top