Sap 1 to Sap 2 card transfer

makinmomb

Active Member
Joined
Dec 23, 2013
Messages
401
100.000.01GEMMA 40 X 40 = KARNAK BEIGE P GRANITOFLOOR GEMMAKARNAK BEIGEGEMMA007A0remove
100.000.02GEMMA 40 X 40 = KARNAK GREY P GRANITOTILE GEMMAKARNAK GREYGEMMA007A0remove
100.000.03GEMMA 40 X 40 = MYKONOS GREYP GRANITOFLOOR TILE GEMMAMYKONOS GREYGEMMA007A0remove
100.000.04GEMMA 50 X 50 = ARIZONA BEIGEARIZONA BEIGEGEMMA005A0remove
100.000.05GEMMA 50 X 50 = VERANDA BRICKVERANDA BRICKGEMMA005A0remove
100.000.06GEMMA 50 X 50 = VERANDA BRICK GEOMETRICGEMMAVERANDA BRICKGEMMA005A0remove
100.000.07GEMMA 25 X 35 = BOMBAY GREENBOMBAY GREENGEMMA016A0remove
100.000.08GEMMA 30 X 44 = ISCANDARONA BROWN DARKISCANDARONA BROWGEMMA011A0remove
100.000.09GEMMA 20 X 20 = SOLANGE IVORYSOLANGEGEMMA022A1000.00
100.000.10CLOSED CARDGEMMAPC0remove
100.000.11CLOSED CARDGEMMAPC0remove
100.000.12GEMMA 20X30 = FRUTTI BEIGEFRUTTI BEIGEGEMMA020H0remove
100.000.13GEMMA 20X30 = FRUTTI BRICK
FRUTTI BRICKGEMMA020H0remove
100.000.14GEMMA LISTELO 10 X 20 = FRUTTI BEIGEFRUTTI BEIGEGEMMAPC0remove
100.000.15GEMMA DECOR 20X30 = FRUTTI BEIGEGEMMAFRUTTI BEIGEGEMMAPC0remove
100.000.16GEMMA 30 X 30 = ARIZONA MARRONARIZONA MARRONGEMMA015A2000.00

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
100.000.01GEMMA 40 X 40 = KARNAK BEIGE P GRANITOFLOOR GEMMAKARNAK BEIGEGEMMA007A0remove
100.000.02GEMMA 40 X 40 = KARNAK GREY P GRANITOTILE GEMMAKARNAK GREYGEMMA007A0remove
100.000.03GEMMA 40 X 40 = MYKONOS GREYP GRANITOFLOOR TILE GEMMAMYKONOS GREYGEMMA007A0remove
100.000.04GEMMA 50 X 50 = ARIZONA BEIGEARIZONA BEIGEGEMMA005A0remove
100.000.05GEMMA 50 X 50 = VERANDA BRICKVERANDA BRICKGEMMA005A0remove
100.000.06GEMMA 50 X 50 = VERANDA BRICK GEOMETRICGEMMAVERANDA BRICKGEMMA005A0remove
100.000.07GEMMA 25 X 35 = BOMBAY GREENBOMBAY GREENGEMMA016A0remove
100.000.08GEMMA 30 X 44 = ISCANDARONA BROWN DARKISCANDARONA BROWGEMMA011A0remove
100.000.09GEMMA 20 X 20 = SOLANGE IVORYSOLANGEGEMMA022A1000.00
100.000.10CLOSED CARDGEMMAPC0remove
100.000.11CLOSED CARDGEMMAPC0remove
100.000.12GEMMA 20X30 = FRUTTI BEIGEFRUTTI BEIGEGEMMA020H0remove
100.000.13GEMMA 20X30 = FRUTTI BRICKFRUTTI BRICKGEMMA020H0remove
100.000.14GEMMA LISTELO 10 X 20 = FRUTTI BEIGEFRUTTI BEIGEGEMMAPC0remove
100.000.15GEMMA DECOR 20X30 = FRUTTI BEIGEGEMMAFRUTTI BEIGEGEMMAPC0remove
100.000.16GEMMA 30 X 30 = ARIZONA MARRONARIZONA MARRONGEMMA015A2000.00

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Hi rick again , your magic is required again

This week I am moving from one software to another

There is a small modification required , your macro works
fine on one series e.g. 100.000.01 and so

But I have series

102.000.01
103.000.01

Going up to 300

So what I needed added is the macro to do the following

Delete as it does
Then rename the way it does but this time to take care of 102. 103. and so on
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
There is a small modification required , your macro works
fine on one series e.g. 100.000.01 and so

But I have series

102.000.01
103.000.01

Going up to 300
Do the 102.... and 103.... etc. series appear on separate sheets or are they listed one under the other on the same sheet? If the latter, is there any blank rows between the individual series?
 
Upvote 0
I can insert row too if the macro is easier that way ,
I have an insert row macro that looks as follows

Sub InsertRow()
Dim i As Long
For i = Range("A" & Rows.Count).End(xlUp).Offset(-1).Row To 1 Step -1
If Split(Cells(i, 1), ".")(0) <> Split(Cells(i + 1, 1), ".")(0) Then
Cells(i + 1, 1).EntireRow.Insert
End If
Next i
End Sub
 
Upvote 0
Okay, give this macro a try...
Code:
Sub DeleteRowsWithRemoveInColumnH()
  Dim LastRow As Long, Addr1 As String, Addr2 As String
  Application.ScreenUpdating = False
  Columns("H").SpecialCells(xlConstants).EntireRow.Delete
  LastRow = Cells(Rows.Count, "A").End(xlUp).Row
  Addr1 = "A1:A" & LastRow - 1
  Addr2 = "A2:A" & LastRow
  Range("A1").Value = Application.Replace(Range("A1"), Len(Range("A1")) - 1, 2, "01")
  Range(Addr2) = Evaluate(Replace(Replace("IF(LEFT(@,3)<>LEFT($,3),REPLACE(@,LEN(@)-1,2,""01""),"""")", "$", Addr1), "@", Addr2))
  Range(Addr2).SpecialCells(xlBlanks).FormulaR1C1 = "=LEFT(R[-1]C,8)&TEXT(RIGHT(R[-1]C,2)+1,""00"")"
  Range(Addr2).Value = Range(Addr2).Value
  Application.ScreenUpdating = True
End Sub
 
Upvote 0
Thank you very much Rick , this is more than Magic

My final question for tomorrow though , since my
pricelist have the old codes , I will need to know
what the prior code was

This should be possible maybe insert a column
and then pull its old code

This for tomorrow sir , as today you have given
me the punch answer already
 
Upvote 0

Forum statistics

Threads
1,215,420
Messages
6,124,803
Members
449,190
Latest member
cindykay

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top