avoid multiple text in range

C

CG Rosén

Hi Group,

Any hints how to approach this;

Filling a range by code below. How to to code to skip if the same text
in Worksheets(2).Cells(1, a) appears multiple times?

a = Application.WorksheetFunction.CountA(Sheets(2).Range("A1:K1")) + 2
Worksheets(2).Cells(1, a) = Worksheets(1).Cells(r, 2)

Brgds

CG Rosén
 

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