We help IT Professionals succeed at work.

Can an application written in VB.NET be setup to run an excel file that runs against a database

433 Views
Last Modified: 2012-06-27
We have an Excel spreadsheet that is designed to pull data out of a QuickBooks database and post the data cleanly in a spreadsheet in a format easy for customers to understand. We also have designed a VB.Net application that allows a variety of reports types to be kicked off and run automatically pointing the report to the current datasource or DSN and running the report so results are available for users.

We wanted to know mlmcc (Senior Expert on EE) and I if it was possible to create a spreadsheet that like a Crystal Report, Access Report or SQL Reporting Service could be scheduled to run in our application which we know how to do but to somehow engage the spreadsheet to run against the preset database stored in the spreadsheet automatically.

What would we need to build in the spreadsheet to make that happen. Currently we have a simple execute button inside the custom spreadsheet that the customer clicks on after entering the DSN and a Date Range. Any support is greatly appreciated.
Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
RUA Volunteer2?Crystal Reports Tableau Developer Trainer Consultant Sales Exec.

Author

Commented:
I am going to have to plead ignorance here. Can you explain this a little further for me. Sorry.
Do you mean create a DLL that some how connects our application to the Excel file (technically the report) and it passes the values through our application to get the data from the QuickBooks database and pushes it out to the Excel file on a scheduled automated basis......Am I close here....?
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
RUA Volunteer2?Crystal Reports Tableau Developer Trainer Consultant Sales Exec.

Author

Commented:
Do you know of or have any examples of this type of code sir or where I might find it. This is for mlmcc a Senior Expert here on EE. I am doing some of the work to help us get this started. He would have asked it but is not able to do so at the moment so I have asked in his stead. Thank you for all you have done.
RUA Volunteer2?Crystal Reports Tableau Developer Trainer Consultant Sales Exec.

Author

Commented:
Do you know of where we might find example code for this sir....?

Commented:
All of my code for this was done for a client to which I no longer have access.  I'm sorry about that, but basically create a DLL with an entry point with an argument that can either be a comma delimited string (with input values) or with the ability to load the values from a text file or database, etc...  Then create all of the spreadsheet functions as private functions and then call a function like "CrunchNumbers" to produce the output you are looking for.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.