Copying from one workbook to another

D

Dennis T. Holm

Hey

I have a problem... I've got an assignment to make something stupid in VBA
and never tried VBA before so im a beginner at this....

MY problem:

Im searchin through a workbook with only one worksheet. LIKE THIS:

With Worksheets(filename).Range("A1")
For i = 1 To 500
If Left(.Offset(i, 0), level) = level Then

**** THIS is where i want to copy the stuff i just found to
match into a new workbook and/or worksheet until i=500 and save it to a new
file BUT HOW****

End If
Next
End With

It's probably a simple problem, but still i hope somebody can help me with a
simple answer ....


Thanks in advance ..

Dennis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top