Link to home
Start Free TrialLog in
Avatar of dp
dpFlag for Canada

asked on

Update Excel data from Access query

Hi all,

I need a quick excel macro that would get data from an access query, and then update the data in excel where there is a match. The excel data has TAG_NO and MP_NO_E among the columns, and the query returns TAG_NO and MP_NO_A. For each TAG_NO that matches, I want to update MP_NO_E to MP_NO_A.
Thanks!
Avatar of regmigrant
regmigrant
Flag of United Kingdom of Great Britain and Northern Ireland image

This probably doesnt need a macro - use the 'data connections' tab to set up a connection to Access and it will guide you through the extract
You can no longer update a linked Excel file in Access due to some copyright infringement issues from back in version 2000 or 2002.
Avatar of dp

ASKER

I am not too familiar with programming excel. I can bring in the data from Access either through external data or manual export, but how do I do the updating where the TAG_NO matches?
ASKER CERTIFIED SOLUTION
Avatar of jmoss111
jmoss111
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dp

ASKER

I thought about that, but I cannot. The data resides in the excel file and there is only the match in the two columns (Tag No and Mp No) with the access database. They want to have sort of a button that once clicked updates the Mp No from Access to Excel.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dp

ASKER

I am using my comments as a solution as the expert's comment spurred me in the direction of the ultimate solution.