simplyeshu
New Member
- Joined
- Jun 25, 2011
- Messages
- 30
Hello Frens,
I am new to VBA programming. So can you please help me.
I have a excel of 4 columns and rows can be anything from 100 to 500.
I want to create a small vba code which should insert a record when cell a2=a1 is false and then copy a2 to b2 column.
Ex:
Columns: a b c d
a1 Excel Sheet
a2 Hero Bestbuy Amazon Lifestyle
a3 Hero Bestbuy Dallas Shopping
a4 Heroine Outright Sydney Sports
a5 Villain Direct Los angels Lifestyle
I want a new row to be created after a1 as a2=a1 is false and Hero word to be copied in b2 after creating a new row. Similarly a new row after a3 and a4 as the condition is false
Can anyone help in providing me VBA code for the same?
I am new to VBA programming. So can you please help me.
I have a excel of 4 columns and rows can be anything from 100 to 500.
I want to create a small vba code which should insert a record when cell a2=a1 is false and then copy a2 to b2 column.
Ex:
Columns: a b c d
a1 Excel Sheet
a2 Hero Bestbuy Amazon Lifestyle
a3 Hero Bestbuy Dallas Shopping
a4 Heroine Outright Sydney Sports
a5 Villain Direct Los angels Lifestyle
I want a new row to be created after a1 as a2=a1 is false and Hero word to be copied in b2 after creating a new row. Similarly a new row after a3 and a4 as the condition is false
Can anyone help in providing me VBA code for the same?