LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Array or Something in VBA

I am trying to use an array in VBA but I am not having much luck. This is
what I am looking at:
I am looking for a match between the Customer and the Date in a list of
Customers and dates. So say the Date and Customer are specified, now you want
to look through the listed data to find a match. If there is a match then you
need to determine if you want to overwirte the data. I have the MsgBox and
corresponding code for that the over write but I dont know how to identify
the dulipcate data without using a Do loop and ActiveCell.Offset which
requires too much time to execute. I was hoping to do this with an array but
I can't figure out how to get it to work.

A B
1 CustA 2/1/2007
2 CustB 2/2/2007
3 CustA 2/1/2007
4 CustB 2/6/2007
5 CustB 2/16/2007

 
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
Complex conditional summing - array COUNT works, array SUM gives#VALUE fatcatfan Excel Worksheet Functions 4 November 18th 09 06:41 PM
Prevent cell/array references from changing when altering/moving thecell/array nme Excel Discussion (Misc queries) 1 September 19th 08 01:53 PM
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Array problem: Key words-Variant Array, single-element, type mismatch error davidm Excel Programming 6 November 9th 05 05:54 AM
Array problem: Key words-Variant Array, single-element, type mismatch error davidm Excel Programming 1 November 8th 05 04:21 AM


All times are GMT +1. The time now is 09:40 AM.

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"