V
vincentwady
Dear All,
I have non experience in VBA, but I wish I can learn a lot from you.
In my work, I have a practice I need to create a VBA to improve repeat
procedure, and hope someone can help me.
I have 100 tab in my portfolio file, most of them have simular format,
but still a little different on the display row. This is the step I
need to do VBA:
1. I need to insert a new row above row 2 in all worksheet. Row 2
content " Price/Yield Report" text.
2. After insert new row above row 2, I need to do vlookup,
A2=vlookup(B4,'portfolio $A:$B,2,0)
3. rename the tab by the same name in A2(the vlookup result)
4. hide row from row 3 till 2 row above one specific cell content
"Given: Spread"
5. Done
Hope someone can give me a guide to start my first VBA.
Thank you so much
Vincent
I have non experience in VBA, but I wish I can learn a lot from you.
In my work, I have a practice I need to create a VBA to improve repeat
procedure, and hope someone can help me.
I have 100 tab in my portfolio file, most of them have simular format,
but still a little different on the display row. This is the step I
need to do VBA:
1. I need to insert a new row above row 2 in all worksheet. Row 2
content " Price/Yield Report" text.
2. After insert new row above row 2, I need to do vlookup,
A2=vlookup(B4,'portfolio $A:$B,2,0)
3. rename the tab by the same name in A2(the vlookup result)
4. hide row from row 3 till 2 row above one specific cell content
"Given: Spread"
5. Done
Hope someone can give me a guide to start my first VBA.
Thank you so much
Vincent