Type Conversion Failure-error While Importing Excel Data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smugcool
    New Member
    • Apr 2007
    • 81

    Type Conversion Failure-error While Importing Excel Data

    HI,

    I am trying to import an excel data. All the fields are geting imported properly. But i am geting error in the date field. I tried to keep the format both in excel and access very similar.But still it throws me an error of type conversion failure. Can anybody help me.

    Regards
    Anup
  • JustJim
    Recognized Expert Contributor
    • May 2007
    • 407

    #2
    Originally posted by smugcool
    HI,

    I am trying to import an excel data. All the fields are geting imported properly. But i am geting error in the date field. I tried to keep the format both in excel and access very similar.But still it throws me an error of type conversion failure. Can anybody help me.

    Regards
    Anup
    Dates are a real pain in Access aren't they? I think I remember that to import dates from Excel, they have to be in US date format "mm/dd/yy".

    I'll check that and get back to you

    Jim

    Comment

    • JustJim
      Recognized Expert Contributor
      • May 2007
      • 407

      #3
      Originally posted by JustJim
      Dates are a real pain in Access aren't they? I think I remember that to import dates from Excel, they have to be in US date format "mm/dd/yy".

      I'll check that and get back to you

      Jim
      Ooops, that appears not to be the case... Sorry!

      Jim

      Comment

      • smugcool
        New Member
        • Apr 2007
        • 81

        #4
        Hi,

        Is there any option to avoid this error. As i got fed up doing a lot of R & D behind this problem.

        Comment

        • JustJim
          Recognized Expert Contributor
          • May 2007
          • 407

          #5
          Originally posted by smugcool
          Hi,

          Is there any option to avoid this error. As i got fed up doing a lot of R & D behind this problem.
          I'll bet that there is. If you post your Excel data as well as the VBA code that's importing it, we'll have a crack at it.

          Jim

          Comment

          Working...