rolltide0
asked on
Excel File manipulation using Visual Basic
I currently have an Excel spreadsheet with about 6 different database table connections and a vba program that searches those different sheets for certain information and puts them in their correct cells on a separate worksheet. All of these are in the same workbook. It works nicely, but SLOW. I know this is not the most efficient way to do this. I had a couple of ideas but I do not know enough to implement nor how to find information how to implement them
1) Use connection strings within VBA to connect to the oracle database and let the DBMS do all the queries (like it should). Does Excel VBA have this function?
2) Use visual Basic to interface with the Oracle database then create an excel spreadsheet with the information. My question here is can Visual Basic write an exel file or do you have to create a delimited file, then use excel to import that file (which is NOT what i want to do because the user I want to use this needs it to be as simple as possible)?
1) Use connection strings within VBA to connect to the oracle database and let the DBMS do all the queries (like it should). Does Excel VBA have this function?
2) Use visual Basic to interface with the Oracle database then create an excel spreadsheet with the information. My question here is can Visual Basic write an exel file or do you have to create a delimited file, then use excel to import that file (which is NOT what i want to do because the user I want to use this needs it to be as simple as possible)?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER