1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| Sub NouvRef()
init
dernier = False
While Not dernier
Satisf = False
UF_NouvRef.Show
If Satisf Then
LStock = prlv(ShStock, 2)
ShStock.Cells(LStock, KRef).Value = Ref
ShStock.Cells(LStock, KDes).Value = Des
ShStock.Cells(LStock, KThick).Value = Thick
ShStock.Cells(LStock, KLgth).Value = Lgth
ShStock.Cells(LStock, KWdth).Value = Wdth
ShStock.Cells(LStock, KSt).Value = Stock
ShStock.Cells(LStock, KStal).Value = Stal
ShStock.Cells(LStock, KDm).Value = Delmoy
ShStock.Cells(LStock, KQhc).Value = Qhc
End If
Wend
WkStock.Save
End Sub |
Partager