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: 14
Default Help with pseudocode translated into VBA Code

Hi
I need help with translating this pseudocode into VBA Code. I have a
spreadsheet (37000 records) with the following columns:

CustomerNo (Column B), ServiceDesc (Column E), OpenDate (Column F)

I have to spot the duplicates in the CustomerNo and based on that
perform the following:

IF CustomerNo IS DUPLICATED THEN

IF Within the DUPLICATED CustomerNo Records: ServiceDesc IS
DUPLICATED AND OpenDate IS DUPLICATED AND TIME DIFFERENCE BETWEEN
DUPLICATED OpenDate records IS GREATER THAN OR EQUAL TO 15 MINS THEN

DELETE the DUPLICATE(S) based on CustomerNo

END IF

END IF


I don't have to physically delete the duplicates but mark them as
delete whilst keeping any of the duplicate records.

Any help will be very much appreciated. If you can just start me off
with some basic VBA code that should be enough. I'll amend the code
based on trial and error.

Thanks.

ps. I know this pseudocode is not strictly pseudocode but hope it will
help you understand the issue.
 
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
is there a way to type a number and have it translated into text? Gmax Excel Worksheet Functions 1 July 10th 09 03:21 PM
Pseudocode software salgud Excel Programming 12 March 4th 09 10:38 PM
translated menu in excel 2007 herman Excel Discussion (Misc queries) 0 October 31st 08 08:54 PM
pseudocode help please rodchar Excel Programming 2 September 6th 07 01:50 PM
Add comments via a function - please could you ammend my code/ pseudocode to work James Cornthwaite Excel Programming 6 June 7th 06 11:43 PM


All times are GMT +1. The time now is 10:19 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"