If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Access Query Linked to Excel fixed rows
Bill Manville Wrote: A better method of bringing data from Access into Excel would be to use Data / Import External Data / New Database Query. Alternatively you could clear the current table and repeat the process you used previously to get the linked data. Bill Manville MVP - Microsoft Excel, Oxford, England No email replies please - respond to newsgroup Thankyou for that. New database Query works fine and I can use the Access written Queries as the input to MSquery. One question, can I get the MSqueries to autorun on opening the spreadsheet in Excel without being asked if I wish to do so? -- Chris Edmunds |
#2
|
|||
|
|||
I think you would have to mark the queries as not running on startup
and then have a startup macro that runs them. Sub Auto_Open() Dim WS As Worksheet Dim QT As QueryTable For Each WS In ThisWorkbook.Worksheets For Each QT In WS.QueryTables QT.Refresh BackgroundQuery:=False Next Next End Sub Bill Manville MVP - Microsoft Excel, Oxford, England No email replies please - respond to newsgroup |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WORD XP mail-merge FAILS using ACCESS query | SueMackay | Running & Setting Up Queries | 4 | November 29th, 2004 04:11 PM |
is Access 2003 any better than XP? | Gorb | General Discussion | 4 | November 11th, 2004 09:44 PM |
Access XP Compared to Access 2003 | Mardene Leahu | New Users | 1 | October 1st, 2004 05:11 AM |
Linking an Excel worksheet to an Access table | Sitara Lal | General Discussions | 6 | August 9th, 2004 10:13 PM |
Retrieving Count of rows returned from MS Access Query | Don | General Discussion | 2 | June 27th, 2004 07:54 PM |