Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello fellow coders. I created a pretty slick app the creates an access
database and imports all the excel files in a folder into that database. This is for a report in excel so I am pulling data from access into excel with a piviot table. I am using an .ODC file to save the connection as the folder where the excel files and database are created will change as the app gets distrubited to different people. Wrote it all up in 2007 and saved in 2003 file format client only has 2003. This code does not work in 2003. Public Sub AddDataConnection() Dim workbookconnect As WorkbookConnection ActiveWorkbook.Connections.AddFromFile (folder_name) End Sub anyone know the excel 2003 equivlilant to get this to work? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As you are moving Excel data to Access and then back to Excel do you
really need Access? One option is to setup an ADO connection with a .udl file. RBS "Mike Coleman" wrote in message ... Hello fellow coders. I created a pretty slick app the creates an access database and imports all the excel files in a folder into that database. This is for a report in excel so I am pulling data from access into excel with a piviot table. I am using an .ODC file to save the connection as the folder where the excel files and database are created will change as the app gets distrubited to different people. Wrote it all up in 2007 and saved in 2003 file format client only has 2003. This code does not work in 2003. Public Sub AddDataConnection() Dim workbookconnect As WorkbookConnection ActiveWorkbook.Connections.AddFromFile (folder_name) End Sub anyone know the excel 2003 equivlilant to get this to work? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yes as there are many excel files that add up to over 100k rows. I will look
into the .udl file solution. "RB Smissaert" wrote: As you are moving Excel data to Access and then back to Excel do you really need Access? One option is to setup an ADO connection with a .udl file. RBS "Mike Coleman" wrote in message ... Hello fellow coders. I created a pretty slick app the creates an access database and imports all the excel files in a folder into that database. This is for a report in excel so I am pulling data from access into excel with a piviot table. I am using an .ODC file to save the connection as the folder where the excel files and database are created will change as the app gets distrubited to different people. Wrote it all up in 2007 and saved in 2003 file format client only has 2003. This code does not work in 2003. Public Sub AddDataConnection() Dim workbookconnect As WorkbookConnection ActiveWorkbook.Connections.AddFromFile (folder_name) End Sub anyone know the excel 2003 equivlilant to get this to work? . |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yes as there are many excel files that add up to over 100k rows.
Also consider SQLite for storage or maybe text files. SQLite is very fast and there is a good, free VB wrapper. RBS "Mike Coleman" wrote in message ... Yes as there are many excel files that add up to over 100k rows. I will look into the .udl file solution. "RB Smissaert" wrote: As you are moving Excel data to Access and then back to Excel do you really need Access? One option is to setup an ADO connection with a .udl file. RBS "Mike Coleman" wrote in message ... Hello fellow coders. I created a pretty slick app the creates an access database and imports all the excel files in a folder into that database. This is for a report in excel so I am pulling data from access into excel with a piviot table. I am using an .ODC file to save the connection as the folder where the excel files and database are created will change as the app gets distrubited to different people. Wrote it all up in 2007 and saved in 2003 file format client only has 2003. This code does not work in 2003. Public Sub AddDataConnection() Dim workbookconnect As WorkbookConnection ActiveWorkbook.Connections.AddFromFile (folder_name) End Sub anyone know the excel 2003 equivlilant to get this to work? . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ADO connection not opening in Excel 2003 | Excel Programming | |||
ODBC connection trough Visual Basic in Excel 2003 | Excel Programming | |||
DB connection 2003 vs 2007 | Excel Discussion (Misc queries) | |||
Managing Excel from VB^ | Excel Programming | |||
How do I set up my ODBC Connection from AS/400 file in Excel 2003 | Excel Discussion (Misc queries) |