+ Reply to Thread
Results 1 to 2 of 2

Help Only Deleting Table Rows

  1. #1
    Registered User
    Join Date
    07-07-2020
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    19

    Help Only Deleting Table Rows

    Hi All,
    I am hoping someone can help guide me to make this work!

    I am using the calendar spreadsheet (link below) to create a team based calendar.

    The spreadsheet has two tabs:
    Tab 1 - Calendar
    Tab 2 - Schedule

    My goal is to have the Schedule Tab hidden from everyone and when someone needs to delete an event from the calendar they would click on the event title on the Calendar tab and click Delete.
    The macro would search the table holding the events on the Schedule Tab for the corresponding Date and Event Name and then delete the row from the table NOT the worksheets entire row. I have hacked together the following code which works but it deletes the entire row! My below code filters the table based on the data in the third column, it is formatted to DATE - Event. To run the macro the user needs to select the Event Title within column K.

    For the code to work within the spreadsheet I added:

    Schedule Tab
    Cell H2 - Formula ='Monthly view'!K3
    3rd Column of Table Formula = =TEXT([@Date],"dd/mm/yyyy")&" - "&[@Title]

    Please Login or Register  to view this content.
    https://www.get-digital-help.com/calendar-monthly-view/


    Other forum link - https://www.mrexcel.com/board/thread...ction.1144494/

    Thanks in advance!
    t0ny84

  2. #2
    Registered User
    Join Date
    07-07-2020
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    19

    Re: Help Only Deleting Table Rows

    I found that by using the following code it meant that the additional data in the sheet didn't get deleted.

    Please Login or Register  to view this content.
    instead of below

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA help deleting rows from table
    By jarallie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2020, 11:16 AM
  2. Deleting Unused Table Rows
    By homerl2409 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-27-2019, 07:20 AM
  3. [SOLVED] VBA deleting table rows
    By Chelsea19 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-08-2019, 03:05 PM
  4. deleting table rows
    By Chelsea19 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2019, 07:34 PM
  5. [SOLVED] Deleting duplicate rows in table
    By agricolan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2012, 06:31 PM
  6. Deleting all rows in Named Table
    By LampCommandr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2011, 03:46 PM

Tags for this Thread

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