![]() |
|
|
|
#1
|
||||
|
||||
|
Hi Joe,
The code from the MVP site is demonstration code only - it's not intended to be thought of as a tailor-made solution. Presumably the error you referred to occurs on the line: Set rs = db.OpenRecordset("SELECT * FROM 'PEdatabase'") You need to use an SQL query that matches your workbook structure and what you're trying to extract.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
list of Opened excel files
|
SDondeti | Word VBA | 10 | 05-10-2018 03:52 PM |
| Excel - move with tab through named range | mjlaw | Excel | 4 | 03-26-2012 10:40 AM |
| Searchable list in excel? | leahca | Excel | 7 | 11-24-2011 04:44 AM |
| PowerPoint Add-in fails to load in start up but loads successfully if load manually f | shahbazlibra | PowerPoint | 0 | 11-30-2010 08:36 AM |
| Through VBA, export range from Excel to Word | duugg | Word VBA | 0 | 08-24-2009 07:50 PM |