Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42466

VBA Sript to add and remove rows

$
0
0
Hi guys,

I need Script which will add or remove rows based on few conditions.
I have 2 Sheets: Conditions, DDL

Script Should check if in Condition Sheet cell value B15 is Yes or No.

If "No" Script Should check if range A25:A48 contains (not equal) CALBridge or CALBrdg and if yes delete each row which has it.

If "Yes" do nothing.

Now there is second Part.
Second script should use Value from cells D34:36 in Sheet DDL as Condition for Pivot (cells B34:B36) and copy result (copy all non blank rows 38:62) of Pivot to Condition Sheet starting with raw 25.

Both I will associate with buttons.

Unfortunately for me this script is to complicated

Thank you

P.S. I cannot attach sample file:( When I'm go to manage attachments, I am getting new window, which is blank without any option on it.

Viewing all articles
Browse latest Browse all 42466

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>