Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching for a string and then perofming an action is present

Status
Not open for further replies.

t16turbo

Programmer
Mar 22, 2005
315
GB
I have a pivot table that I am copying and pasting into a new worksheet so I can insert some columns etc.

I need to 'search' row 4 for the existence of the word "Documentation". If I find it then insert an entire column tot he right of it.

If documentation does not exist then do nothing.

can anyone suggest some code that I could use for this?
thanks,
Matt
 
As a strarting point you may use the macrorecorder when you do it manually.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top