Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro Question


I am trying to write a Macro to sort data in a spread sheet. I hav
alpha numeric part numbers in column B, then an integer from number 1-
in column C. When it encounters a new part number, it inserts a row.
There are supposed to be eight parts for every part number. Some o
the part numbers only have 3 or 4 listings and i am trying to writ
code that will go in and look at column C and if the numbers fo
example go 1,2,3,6,7,8 then it will go in and insert a row for 4 and
and place "spare" in column B. When I import the data i am currentl
telling it to check rows 1-600, i am also trying to code it to where i
will automatically know how many rows are being used and just work o
those rows. As instead of, "For rwindex = 1 To 330" i want somethin
that For rwindex = number being used

--
Drape
-----------------------------------------------------------------------
Draper's Profile: http://www.excelforum.com/member.php...fo&userid=2411
View this thread: http://www.excelforum.com/showthread.php?threadid=37718

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
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
VB Macro question apache007 Excel Discussion (Misc queries) 2 August 13th 09 08:36 AM
Another Macro Question igotquestions Excel Worksheet Functions 9 August 8th 08 10:56 PM
Macro Question Diana Excel Discussion (Misc queries) 1 July 15th 06 12:28 AM
Macro Question DangerMouse114[_16_] Excel Programming 3 June 7th 04 07:44 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"