Results 1 to 4 of 4
  1. #1
    bgonzal1 is offline Novice
    Windows 7 Access 2003
    Join Date
    Dec 2009
    Posts
    3

    Help with VBA code

    Hi new to this forum and new to VBA, I have a macro that exports data to a spreadsheet in a CSV file and sometimes the data exceeds 65k which for MSoffice2003 cannot exceed that count. I need to be able to have the data viewed in excel so I want to be able to do a funtion in VBA that can calculate the data and add a new tab when >65. I have a primary key column that gives my data a uniqueness for the count but i dont know the code in VBA to perform this task. Thanks for any help that can be provided.

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    hmmm - well there is something missing in your explanation. you say that you are exporting to excel - - - which means it is already in Access. In terms of records width limitation in general Access is more limiting than excel - - so it would seem that anything already in Access should export to excel ok.

    I'm assuming you are discussiong record width as 65k record count isn't a problem for either product.

  3. #3
    bgonzal1 is offline Novice
    Windows 7 Access 2003
    Join Date
    Dec 2009
    Posts
    3
    not the case for excel 2003. Its limited to just above 65,000 when access can surpass the millions in data.

  4. #4
    bgonzal1 is offline Novice
    Windows 7 Access 2003
    Join Date
    Dec 2009
    Posts
    3
    and yes the data is alreading in access just the exporting in excel format with all needed data is the problem due to its size.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access 2003 code vs Access 2007 Code
    By ralphjramirez in forum Access
    Replies: 5
    Last Post: 11-23-2009, 12:33 PM
  2. Help with VBA Code
    By access.newby in forum Forms
    Replies: 1
    Last Post: 11-15-2009, 05:43 AM
  3. Help with vba code
    By rockape in forum Programming
    Replies: 11
    Last Post: 09-29-2009, 06:49 AM
  4. Need help with code
    By hoenheim in forum Programming
    Replies: 9
    Last Post: 09-11-2008, 04:19 PM
  5. Need Help Getting to Code
    By Snuffles in forum Programming
    Replies: 8
    Last Post: 04-22-2008, 05:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums