+ Reply to Thread
Results 1 to 5 of 5

Deleting a row from a table

  1. #1
    Registered User
    Join Date
    07-17-2012
    Location
    Houston
    MS-Off Ver
    Excel 2007
    Posts
    3

    Deleting a row from a table

    ALRIGHT SO BASICALLY I AM TRYING TO USE VBA TO DELETE ANY CELL FROM COLUMN "F" THAT IS HIGHLIGHTED IN RED.. I AM NOT SURE IF THE ATTACHMENT IS GOING TO HELP CAUSE I AM PULLING A LOT OF DATA FROM SQL DATABASE.. THE MAIN THING I CANNOT SELECT THE CELL AND THEN DELETE IT, I FIGURE OUT HOW TO SELECT THE ERROR CELLS AND HIGHLIGHT THEM RED, BUT AS FAR AS REMOVING THE ENTIRE ROW IN THAT TABLE ALONE I CANNOT DO IT.. HERE IS WHAT I HAVE SO FAR

    Please Login or Register  to view this content.
    AGAIN JUST FOR HIGHLIGHTING I DO NOT KNOW HOW TO REMOVE THE ROW FROM THE TABLE.
    Attached Files Attached Files
    Last edited by arlu1201; 07-17-2012 at 06:20 AM. Reason: Use code tags in future.

  2. #2
    Valued Forum Contributor smuzoen's Avatar
    Join Date
    10-28-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003/2007/2010
    Posts
    610

    Re: Deleting a row from a table

    Please could I just ask not to type in All Caps..please.
    I am unsure if you want to delete the row from the first table or second table. Try one of the following based on requirements
    Please Login or Register  to view this content.
    Hope this helps.
    Anthony
    Pack my box with five dozen liquor jugs
    PS: Remember to mark your questions as Solved once you are satisfied. Please rate the answer(s) by selecting the Star in the lower left next to the Triangle. It is appreciated?

  3. #3
    Registered User
    Join Date
    07-17-2012
    Location
    Houston
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Deleting a row from a table

    Thanks for the advice about the caps.. Sorry about that... It is the second table, when I put in your code and run it, nothing happens... The code will run, but the item that I want deleted is still there. The code is for the second table.. If you have any suggestions please let me know.. Thanks again for your time.

  4. #4
    Registered User
    Join Date
    07-17-2012
    Location
    Houston
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Deleting a row from a table

    Thereamind your code works perfectly... It was me that was not working fine... Thanks for your help Anthony....

  5. #5
    Valued Forum Contributor smuzoen's Avatar
    Join Date
    10-28-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003/2007/2010
    Posts
    610

    Re: Deleting a row from a table

    If the solution solves your question can you change the thread to solved please. Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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