Using DoCmd.TransferDatabase to Import Global Address List
Hi,
I have created a table in Access where I have imported our company Global Address List.
I did this using the menu “File > Get External Data > Import” and then just choosing the file type Exchange.
And this has of course worked very nicely, BUT now I would like to accomplish the same thing using VBA as I want to update the table now and then.
I have a few tables that I update from different spreadsheets, and to update these I use the “DoCmd.TransferSpreadsheet” and so on, this works really great and fast too.
So I thought there was a way to maybe use the “DoCmd.TransferDatabase” to import from the G.A.L to the table that I have.
Or is there some other way I should go about to accomplish this?
My thought is that it would be pretty straightforward as it is quite simple doing it using the menu option I wrote about earlier.
I know one can Link the G.A.L, but this is really slow, so that is not an option in my case.
Would be grateful for any suggestion on how to accomplish and import of this kind using VBA.
Thanks in advance, Bundi
Hi,
I have created a table in Access where I have imported our company Global Address List.
I did this using the menu “File > Get External Data > Import” and then just choosing the file type Exchange.
And this has of course worked very nicely, BUT now I would like to accomplish the same thing using VBA as I want to update the table now and then.
I have a few tables that I update from different spreadsheets, and to update these I use the “DoCmd.TransferSpreadsheet” and so on, this works really great and fast too.
So I thought there was a way to maybe use the “DoCmd.TransferDatabase” to import from the G.A.L to the table that I have.
Or is there some other way I should go about to accomplish this?
My thought is that it would be pretty straightforward as it is quite simple doing it using the menu option I wrote about earlier.
I know one can Link the G.A.L, but this is really slow, so that is not an option in my case.
Would be grateful for any suggestion on how to accomplish and import of this kind using VBA.
Thanks in advance, Bundi
Last edited: