Results 1 to 5 of 5

Thread: Export data from Access to Excel

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2008
    Posts
    35

    Export data from Access to Excel

    I need to export data from Excel 2007 file to Access 2007 table.

    The excel file has 65536 rows and I am not able to export more than 65536 rows of data.

    Here is the code

    con= "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='" & DBName & "';"

    sql1= "INSERT INTO table SELECT * FROM [Sheet1$] IN '" & ThisWorkbook.FullName & "' 'Excel 12.0;'

    Please assist.

    I need to export data to Access from excel having more than 65536 rows of data

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Export data from Access to Excel

    Moved To Office Development

  3. #3
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Export data from Access to Excel

    Quote Originally Posted by Sowjanya_N View Post
    I need to export data from Excel 2007 file to Access 2007 table.....
    I need to export data to Access from excel having more than 65536 rows of data
    You have me confused

    You thread title say you want to export data from Access to Excel and your thread says the opposite... which one do you want?

    Excel ~~>Access
    OR
    Access~~>Excel
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Export data from Access to Excel

    Duplicate Threads Merged

    Please do not create multiple threads, in different forum sections, for the same question.

  5. #5
    PowerPoster kaliman79912's Avatar
    Join Date
    Jan 2009
    Location
    Ciudad Juarez, Chihuahua. Mexico
    Posts
    2,593

    Re: Export data from Excel to MS Access Table

    If the excel file has 65536 rows, why do you need to export more than that?
    More important than the will to succeed, is the will to prepare for success.

    Please rate the posts, your comments are the fuel to keep helping people

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width