LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DJS
 
Posts: n/a
Default check cell val, increment val

hello~
I am new VB in Excel and need some assistance with the following macro.
Any help greatly appreciated.
I need to create a macro which will start with an initial val in cell A,
tThen move down 1 row and increment the val (example: IM60000107) by one and
if the cell is not blank try and see if it is a match.
If the val does not mtch the val in cell A2, I need to insert a blank row.
Then move down 2 rows (skip the blank row we just inserted), grab the val in
that cell to use as my new criteria for my val to match and start the process
again.
If the val in the next row is a match, I want to increment the val by one
and move to the next row and run the check again. When I hit a blank row (end
of data) I want to exit the loop.
 
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
cell calculation check if result is negative and zero out if not l Rich Excel Worksheet Functions 2 January 16th 06 08:31 PM
Dates of a Day for a month & year cell formulas mikeburg Excel Discussion (Misc queries) 2 December 29th 05 10:14 PM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
IF statement to check cell contents Lance Gray Excel Worksheet Functions 1 May 29th 05 10:53 PM
"Check Marking" a cell FVC Excel Discussion (Misc queries) 2 April 8th 05 09:21 PM


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