Link| External database -> Word -> Excel

Emperor

Board Regular
Joined
Mar 25, 2010
Messages
225
Hi all,
I have a problem, at work we use a database program (Dutch) in which al the data of our projects (custumor details etc) are stored.

From this database program it is possible to execute a mailmerge to Word, this works perfectly.... but now my problem. I need the data in Excel, not in Word.

Now tried several things;
- I called the company to make it possible to link to Excel, denied.
- I added VBA code in Word which acts on opening the document, problem is, VBA code is executed before the merge. So this doesnt work.
- I added a button to my document which should trigger a VBA code to link everything to Excel. The problem is, my code is gone after the merge?!

Does anyone has an idea how to get data from the database into Excel?

If there is a way to keep the code after the merge, this will be fine, pressing a button once is do-able.

Please help!

Mathijs.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,518
Messages
6,179,248
Members
452,900
Latest member
LisaGo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top