VBA in Business Query to refresh queries for multiple values

I have created a Business Query report containing multiple queries, each of which contains a prompt for the same field (country code). Is it possible to use VBA to refresh all of the queries, passing the content of a cell to the prompts, to avoid having to repeatedly enter the same value for each query?

Taking this one stage further, is it possible to add a new query which retrieves a list of country codes, and then use VBA to refresh the other queries for each country code in this list in turn? Would it matter if this list varied in length so that a predetermined range of cells could not be identified?

Thanks in advance for any guidance…

Matt


msmit207 (BOB member since 2003-03-04)

Matt,

This is exactly what I am trying to do also. I have not found the solution yet. Do you know how to do it by now? I would appreciate it very much if you could tell me!

Thanks in advance!

Suzanne


stdvries (BOB member since 2006-07-26)

No - I obviously didn’t receive a single response on how to do this, and we abandoned Business Query. Instead we are using VBA within Business Objects to export the data to Excel. I haven’t been involved with this though so don’t know the details.

Good Luck

Matt


msmit207 (BOB member since 2003-03-04)

Matt,

This is exactly what I am trying to do also. I have not found the solution yet. Do you know how to do it by now? I would appreciate it very much if you could tell me!

Thanks in advance!

Suzanne


stdvries (BOB member since 2006-07-26)

HI can u please tell if u got a solution for the Same i am also trying for the same.
plz help if u know processes.


sbbattula :india: (BOB member since 2007-11-12)