+ Reply to Thread
Results 1 to 9 of 9

Recreating a table

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    Los Angeles USA
    MS-Off Ver
    Excel Office 365
    Posts
    80

    Recreating a table

    I am using VB to add multiple records to a Table, Table6, when I post the records the new records are not part of the table. If I manually use the Convert to Range function on Table6, then recreate the Table, the newly added records are now part of the Table. I created a macro to automate the above steps, when I ran the macro I got the error "Table cannot overlap another table." First I ran the code to add the new records, then ran the recreate table macro. Eventually hope to combine the two. It works if I do step two manually, any ideas what is different?

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Recreating a table

    without example it is hard to understand but look at such code maybe it will help
    Please Login or Register  to view this content.
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Registered User
    Join Date
    01-18-2012
    Location
    Los Angeles USA
    MS-Off Ver
    Excel Office 365
    Posts
    80

    Re: Recreating a table

    This is the code I'm running to post the records to the database, Table6, should I add your code to the bottom of my code?

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Recreating a table

    could you send also example workbook? without confidential data of course.

  5. #5
    Registered User
    Join Date
    01-18-2012
    Location
    Los Angeles USA
    MS-Off Ver
    Excel Office 365
    Posts
    80

    Re: Recreating a table

    Hi
    When I try to upload the file I get an error message "ioError" bubbles=false cancelable...
    If you email me I'll send you the file.
    Last edited by laguna92651; 03-22-2012 at 01:24 AM.

  6. #6
    Registered User
    Join Date
    01-18-2012
    Location
    Los Angeles USA
    MS-Off Ver
    Excel Office 365
    Posts
    80

    Re: Recreating a table

    I've manage to upload the file, but now can't find it to attach to email. There is nothing in the site Home directory. Any suggestions. Thanks

  7. #7
    Registered User
    Join Date
    01-18-2012
    Location
    Los Angeles USA
    MS-Off Ver
    Excel Office 365
    Posts
    80

    Re: Recreating a table

    Email me and I'll email you my file. For some reason I can't find my uploaded file to attach to this message.
    Last edited by laguna92651; 03-22-2012 at 01:41 AM.

  8. #8
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Recreating a table

    i contacted Laguna and received the file that could not be uploaded, but for some reason i am also unable to upload the file. working to resolve now
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  9. #9
    Registered User
    Join Date
    01-18-2012
    Location
    Los Angeles USA
    MS-Off Ver
    Excel Office 365
    Posts
    80

    Re: Recreating a table

    Hi Tom1977
    Did you ever get a chance to look at my code? How would I integrate your code with the code I am using? Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1