Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 128
Default Macro to change information and then delete it

CJ13A02 Grp ..... Cherry Coke 500ml PET 24 Std 145

CJ13A02 927 7471 Cherry Coke 500ml PET 24 *Std 137
CJ13A02 927 87471 Cherry Coke 500ml PET 24 Blnk 8
CJ18A08 Grp ..... Diet Coke 500ml PET 24 Std 377

CJ18A08 927 8732 Diet Coke 500ml PET 24 *Std 365
CJ18A08 927 88732 Diet Coke 500ml PET 24 Blnk 12


the above is a print out of two product items. Instead of six rows I want
just 2. It is dislpayed as three per item because there are what we call
standard and then blanket codes, they are then added together to create a grp
(group product data).

I need the grp to be changed in this instance to 927and ..... to change to
the code that has *std in the column i.e. Cherry coke code 7471 has *std and
87471 has blnk, i need it to put 7471 in there. Then remove the two previuos
lines

Example of required output:

CJ13A02 927 7471 Cherry Coke 500ml PET 24 Std 145
CJ18A08 927 2083 Diet Coke 500ml PET 24 Std 377

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200511/1
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to change information and then delete it


So what is your question????


--
Dnereb


------------------------------------------------------------------------
Dnereb's Profile: http://www.excelforum.com/member.php...o&userid=26182
View this thread: http://www.excelforum.com/showthread...hreadid=486507

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
Delete rows in a workbook that contain the same information tiff Excel Worksheet Functions 2 February 19th 09 02:03 PM
Macro to change information Unique713 Excel Discussion (Misc queries) 0 December 16th 08 08:09 PM
how do i delete some information from different cells at time maddy Excel Discussion (Misc queries) 3 May 23rd 06 04:44 PM
macro to change the names and delete closed books Tim Excel Discussion (Misc queries) 2 February 6th 05 09:39 PM
make macro change (delete) its own code as_sass Excel Programming 4 August 26th 04 07:15 PM


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