Delete rows with criteria inside a Table with data connection

kris21

New Member
Joined
Jun 6, 2016
Messages
3
Hi folks,

I need a formula to run through a sheet and delete the row IF column C contains the word "Closed" . The problem is that data is in a table which is connected ( 2 way) to a share point list. I have tried using auto filter,looping etc but it fails at the 'delete' line.:confused: Am trying to delete the rows in excel and use "Synchronize with share point",so that the changes are reflected in the SP list.

I have used the below code to import the list to excel.

Code:
[/COLOR] 

Sub Link()
     ActiveSheet.ListObjects.Add SourceType:=xlSrcExternal, _     Source:=Array(URL, "List Projects", _
     Prj_Vw), LinkSource:=True, Destination:=Range("A1")
    
End Sub[COLOR=#333333]

Can some one help me here?? Many Thanks in advance.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top