I'm trying to debug an excel app. The place where the code fails is at: Selection.QueryTable.Refresh BackgroundQuery:=False.
After this line the code prompts a connection to an oracle server. Prompts for a password and gets stock. I'm trying to figure out what table in oracle is this app trying to access. I can't see it anywhere in the code. Any suggestions? Thanks in advance. Below is the code where it fails.
runday:
er = 2
Sheets("MDI").Select
Range("A1").Select
Selection.QueryTable.Refresh BackgroundQuery:=False
After this line the code prompts a connection to an oracle server. Prompts for a password and gets stock. I'm trying to figure out what table in oracle is this app trying to access. I can't see it anywhere in the code. Any suggestions? Thanks in advance. Below is the code where it fails.
runday:
er = 2
Sheets("MDI").Select
Range("A1").Select
Selection.QueryTable.Refresh BackgroundQuery:=False