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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reading data from excel / vba help

Status
Not open for further replies.

halobender

Technical User
Mar 16, 2007
37
Hey guys.. Need some ideas for gathering some information from a closed workbook. I currently have a script that will open a workbook gather information and paste to a set area in a new workbook then close, however i need to edit this to do the following.

search column B for text string over 5 characters if > 5 characters then copy all rows (until reaches a blank row) from colums A-Z and paste to sheet 1 AA1 in workbook running macro.

search column B for (next) text string over 5 caracters if > 5 characters then copy all rows (until reaches a blank row) from colums A-Z and paste to sheet 2 AA1 in workbook running macro.

on and on and on.. i am thinking a loop will work great but unsure how the search and copy / paste will work.

Any and all ideas much appreciated..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top