• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

db.docmd.transfersheet

Lenin Kumar

New Member
Hi
I am trying to transfer the data from a excel sheet or multiple sheets to access. when I try to use the below method getting Error 450 Wrong number of arguements or invalid property assigned. Note : first I was using early binding the same command works fine. but later changed to late binding coz of Library reference getting the above said error.

DB.DoCmd.TransferSpreadsheet TransferType:=0, SpreadSheetType:=10, TableName:=a, Filename:=wspath, HasFieldNames:=True

any suggestions would be appreciated.
 
Lenin

Firstly, Welcome to the Chandoo.org Forums

Your post has been cross-posted, which means it has been seen on other websites. This is considered poor practice, as it can waste peoples time, which could be spent elsewhere, especially if you get a solution and don't notify us.

I encourage you to please read the site rules at:
http://forum.chandoo.org/link-forums/new-users-please-read.17/
 
No need to remove it,
Just let people know that you have cross posted and if you get a solution, post it everywhere you have asked.
 
Back
Top