Avatar of Fordraiders
Fordraiders
Flag for United States of America

asked on 

vba code to import data from a shared drive to an access

vba code to import data from a shared drive to an access table

No Linked worksheets.

I need to import excel worksheet from a network drive
and then append to a access table.


cant use saved import or a Linked table.

  Set appExcel = CreateObject("Excel.Application")
  Set myWorkbook = appExcel.Workbooks.Open("\\us.xxxx.com\files\Office\NB\MK\sales support\Rebates_Import\Qualifier_Entity_LOV.xlsx")

Sheet  Name  =  "Sales_Adj_Terms_LOV"

Access table to append to = "tbl_Import_Qualifier"





Thanks
fordraiders
Microsoft AccessVBA

Avatar of undefined
Last Comment
Fordraiders

8/22/2022 - Mon