Results 1 to 2 of 2
  1. #1
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727

    import and rename

    all, using access 2010. I am using the TransferSpreadsheet method to import an excel file into my database. This goes well but I need to know how to rename the tbl I am replacing. Ex. the current table is tblMainFile. I want to have this renamed with the current date attached to it once I import the file into a new table with the same name as the current table:tblMainFile20140702. Can someone please help me out? Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Bing: Access VBA rename table

    Try this: http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. rename a PDF File
    By sdel_nevo in forum Programming
    Replies: 3
    Last Post: 08-21-2013, 12:11 PM
  2. rename
    By slimjen in forum Access
    Replies: 3
    Last Post: 03-11-2013, 02:10 PM
  3. Rename fields and update throughout DB
    By Ojaybee in forum Database Design
    Replies: 1
    Last Post: 09-14-2011, 05:16 PM
  4. rename report and email
    By maddaddy in forum Reports
    Replies: 11
    Last Post: 08-12-2011, 06:17 AM
  5. rename ole object
    By rbg in forum Access
    Replies: 0
    Last Post: 11-29-2010, 03:13 AM

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