LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Insert and replace row

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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and replace, or insert in VBA code keri Excel Programming 2 July 9th 07 11:40 PM
Search and Replace end of Line and Insert Alt-Enter dfresh34 Excel Discussion (Misc queries) 2 October 25th 06 06:09 PM
Search & Replace to insert alt+ wennerberg Excel Discussion (Misc queries) 7 September 29th 05 07:37 PM
Can I use "find / replace" to automatically "Insert Rows" in a do. Dr. Picou Excel Discussion (Misc queries) 2 September 1st 05 09:59 PM
Replace "insert function" with "edit formula" button in fourmula b 13brian Excel Discussion (Misc queries) 0 August 24th 05 08:49 PM


All times are GMT +1. The time now is 05:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"