Add the basic version
This commit is contained in:
parent
df2021613b
commit
60185d85b0
5
CROSS.bas
Normal file
5
CROSS.bas
Normal file
@ -0,0 +1,5 @@
|
||||
Attribute VB_Name = "CROSS"
|
||||
Sub CROSS(ByVal Target As Range, Cancel As Boolean)
|
||||
If UCase(Target) = "x" Then Target = "" Else Target = "x"
|
||||
Cancel = True
|
||||
End Sub
|
14
DUPLICATION.bas
Normal file
14
DUPLICATION.bas
Normal file
@ -0,0 +1,14 @@
|
||||
Attribute VB_Name = "DUPLICATION"
|
||||
Sub DUPLICATION()
|
||||
With Sheets("SHEET1")
|
||||
dl = .Cells(Rows.Count, 1).End(xlUp).Row
|
||||
Set ws = Sheets("SHEET2")
|
||||
NB = 6
|
||||
k = 1
|
||||
For i = 1 To dl
|
||||
.Cells(i, 1).Copy ws.Cells(k, 1).Resize(NB)
|
||||
k = k + NB
|
||||
Next i
|
||||
End With
|
||||
End Sub
|
||||
|
Loading…
Reference in New Issue
Block a user