Using a macro to refresh Investran OLE DB reports using specific parameters

hutch27

New Member
Joined
May 5, 2014
Messages
37
Hello all,

I work as a fund accountant in the private equity industry and we rely heavily on Investran OLE DB reports for financial data. To best ask my question I think I should give a scenario:

Sheet 1 - Main tab
  • Cell A1: Fund name (from a dropdown menu)
  • Cell A2: End Date
  • Cell A3: Start Date

Sheet 2 - Data Tab
  • This tab will have formulas that link to Sheet 3 & 4

Sheet 3
- Driver #1 : Investran OLE DB Report with the following parameters
  • Fund Name

Sheet 4 - Driver #2 : Investran OLE DB Report with the following parameters
  • Fund Name
  • End Date
  • Start Date


My question is: How can I create a macro that with the press of a button, automatically refreshes Sheet 3 & 4 (Investran OLE DB Reports) using the parameters in sheet 1 (main tab). I've been able to create a macro that will refresh the entire workbook, however, I still need to manually enter the parameters on sheet 3 & 4.

Any help would be appreciated.

Thank you.
 
Last edited:

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hey @hutch27, I was wondering if you ever found a solution to using a macro refresh Investran OLEDB reports using specific parameters. I'm currently trying to set up something similar.
 
Upvote 0
Hey @hutch27, I was wondering if you ever found a solution to using a macro refresh Investran OLEDB reports using specific parameters. I'm currently trying to set up something similar.
Yes, but the macro depends on what version of investran you are using.
 
Upvote 0
That's great. Would you mind sharing, so I can see if I can back into it? I think I have the bones set up, I'm just looking for the section to update the specific parameters.
 
Upvote 0
That's great. Would you mind sharing, so I can see if I can back into it? I think I have the bones set up, I'm just looking for the section to update the specific parameters.
Hi, did you figure it out? Could you please share what you already have and we can try to fix the rest?

Thank you
 
Upvote 0
I wanted to follow-up on this thread and see if anyone had a solution. Thanks!
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,999
Members
448,541
Latest member
iparraguirre89

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top