W Bloemendal
Gebruiker
- Lid geworden
- 28 jan 2001
- Berichten
- 503
IK wil een regel in exel copieren maar dan moeten 2 cellen van deze regel aangepast worden maar dit aan passen wil nog niet lukken
voorbeeld
4 test test test test 103923 2 M
1v4 test test test test 103923/10 2 M
2v4 test test test test 103923/20 2 M
Nu de macro
aantal = "9"
Y = InputBox("geef Volgnr", "nummer")
Application.CutCopyMode = False
Selection.Copy
Selection.Insert Shift:=xlDown
Application.CutCopyMode = False
Cells(Rij, 1).Value = Y + "v" + Cells(Rij, 1).Value
Cells(Rij, 6).Value = Cells(Rij, 6).Value + "/" + Y * 10
wim
voorbeeld
4 test test test test 103923 2 M
1v4 test test test test 103923/10 2 M
2v4 test test test test 103923/20 2 M
Nu de macro
aantal = "9"
Y = InputBox("geef Volgnr", "nummer")
Application.CutCopyMode = False
Selection.Copy
Selection.Insert Shift:=xlDown
Application.CutCopyMode = False
Cells(Rij, 1).Value = Y + "v" + Cells(Rij, 1).Value
Cells(Rij, 6).Value = Cells(Rij, 6).Value + "/" + Y * 10
wim