Re: Can Excel 2007 get external data from an SDF file?
- From: "ErikEJ" <ejlskov@xxxxxxxxxxx>
- Date: Fri, 17 Oct 2008 10:12:00 +0200
This small piece of VBA code shows how to import all tables from an sdf file to a workbook: http://erikej.blogspot.com/2008/04/import-sql-compact-data-to-excel.html
--
Erik Ejlskov Jensen, Mobile App Dev MCTS
Check out my SQL Compact blog at
http://erikej.blogspot.com
"Anthony Wieser" <newsgroups-sansspam@xxxxxxxxxxxxxxxxxxx> wrote in message news:uGf0yg4LJHA.5692@xxxxxxxxxxxxxxxxxxxxxxx
OK, I can see that you can poke data into excel from an external program (or is this a macro), but is it possible to connect directly using an OLE DB connection string?.
"Ginny Caughey MVP" <ginny.caughey.online@xxxxxxxxxxxxxx> wrote in message news:%23g1PrJ4LJHA.1160@xxxxxxxxxxxxxxxxxxxxxxxAnthony,
You can also load SQL CE data into Excel programmatically using Visual Studio Tools for Office. (VSTO). There's a sample here in the TechEd demos section: http://blogs.msdn.com/SteveLasker/
--
Ginny Caughey
Device Application Development MVP
- References:
- Can Excel 2007 get external data from an SDF file?
- From: Anthony Wieser
- Re: Can Excel 2007 get external data from an SDF file?
- From: Ginny Caughey MVP
- Re: Can Excel 2007 get external data from an SDF file?
- From: Anthony Wieser
- Can Excel 2007 get external data from an SDF file?
- Prev by Date: Re: Embedded XP & SQL CE
- Next by Date: CE 3.1 / CompactDatabase corrupting BLOB columns
- Previous by thread: Re: Can Excel 2007 get external data from an SDF file?
- Next by thread: Using Join in Update Queries
- Index(es):
Relevant Pages
|