Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default avoid multiple text in range

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).Ran ge("A1:K1")) + 2
Worksheets(2).Cells(1, a) = Worksheets(1).Cells(r, 2)

Brgds

CG Rosén


Reply
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
How 2 avoid multiple IF's by LOOKUP's??? FARAZ QURESHI Excel Discussion (Misc queries) 3 June 8th 07 09:01 AM
How to avoid multiple IF's by LOOKUP's? FARAZ QURESHI Excel Discussion (Misc queries) 2 June 8th 07 05:15 AM
How to avoid duplicates across multiple worsheets in excel? Lisa J Excel Discussion (Misc queries) 1 May 22nd 06 09:01 PM
How do I avoid multiple icons of Excel when using short command Al DVA Excel Discussion (Misc queries) 2 April 26th 05 07:09 AM
INTRICATE PROBLEM- How to find multiple text,excluding "H", in a multiple range of cells, then replacing 0 with another number in another cell Tourcat Excel Worksheet Functions 1 February 8th 05 06:26 PM


All times are GMT +1. The time now is 01:28 PM.

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"