+ Reply to Thread
Results 1 to 2 of 2

How to build a macro with DeleteObject to delete a table.

  1. #1
    Registered User
    Join Date
    09-10-2010
    Location
    Houston, Texas
    MS-Off Ver
    Office 2010
    Posts
    5

    How to build a macro with DeleteObject to delete a table.

    I need to build a macro to delete a table before re-importing it, otherwise it will import it at _1, But I don't know VBA and can't figure out how to do it. Thanks for any help you can give me.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: How to build a macro with DeleteObject to delete a table.

    You could attach this to a command button with the on click event.
    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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