Skip to main content
Cadet | Tier 2
February 10, 2022
Question

How to insert data from one excel to another? I am using query "insert into [Tracking$$] ([Customer ID Number],[Company code],[Portal]) values ('$strCustomerID$','$strCompanyCode$','$strPortal$')". it is not working and also not throwing any error.

  • February 10, 2022
  • 15 replies
  • 225 views
How to insert data from one excel to another? I am using query "insert into [Tracking$$] ([Customer ID Number],[Company code],[Portal]) values ('$strCustomerID$','$strCompanyCode$','$strPortal$')". it is not working and also not throwing any error.

    15 replies

    Cadet | Tier 2
    February 11, 2022

    Hi @Ashwin A.K​ and @ChanduMohammad S​ ,

     

    Yes, It is working now. Thank you so much for your help.

    Most Valuable Pathfinder
    February 11, 2022

    Welcome @Poonam Pandire​ 

    Chand
    Ashwin A.K
    Navigator | Tier 3
    February 11, 2022

    Hi @Poonam Pandire​ ,

     

    That's great!

    Could you please explain how you resolved it?

    It will benefit the community and help anyone facing similar issues.

     

    Kind Regards,

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com
    Cadet | Tier 2
    February 12, 2022

    Hi @Ashwin A.K​ ,

     

    I deleted old file and created new excel and it worked. Don't know why query was not working on old file.

    Ashwin A.K
    Navigator | Tier 3
    February 14, 2022

    Then the file might have been corrupted.

    Anyway, thank you for sharing the solution here with us, we appreciate it.

     

    Kind Regards,

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com