thepunisher
Programmer
Hello
I am programming a module in VBA behind excel.
I am able to:
Create an Access Database from the VBA code in Excel (including database fields and primary keys).
Create Access Queries from the VBA code in Excel.
What I want to do now, is select/copy a chunk of data in the excel spread sheet and ‘paste append’ it into Access automatically after the blank database has been created.
I can use VBA to add data one row at a time, using the AddNew and Update methods etc. but it’s very slow. I’d like to write code to add multiple rows in one go, if this is possible
I have tried the transferSpreadsheet method+it doesnt seem to be working!
How do I do this?
Thanks in advance,
thePunisher
Chief Dan George-Get ready little lady, hell is coming to breakfast
I am programming a module in VBA behind excel.
I am able to:
Create an Access Database from the VBA code in Excel (including database fields and primary keys).
Create Access Queries from the VBA code in Excel.
What I want to do now, is select/copy a chunk of data in the excel spread sheet and ‘paste append’ it into Access automatically after the blank database has been created.
I can use VBA to add data one row at a time, using the AddNew and Update methods etc. but it’s very slow. I’d like to write code to add multiple rows in one go, if this is possible
I have tried the transferSpreadsheet method+it doesnt seem to be working!
How do I do this?
Thanks in advance,
thePunisher
Chief Dan George-Get ready little lady, hell is coming to breakfast