(dong yg dikirim kemarin belum diberi command: langsung cetak)
On Tue, Jul 19, 2011 at 9:32 PM, STDEV(i) <setiyowati.devi@gmail.com> wrote:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)' siti Vi // 19 Juli 2011 // XL-mania msg#18855'----------------------------------------------Dim Daftar As Range, Bantu As Range, SJ As StringDim r As Long, i As LongSet Daftar = Range("B4").CurrentRegionSet Bantu = Daftar.Offset(0, Daftar.Columns.Count - 1).Resize(, 1)If Target.Count = 1 ThenIf Target.Column = 3 And Target.Row > 4 Thenr = 1: SJ = Target.ValueWith Sheets("Form Surat Jalan").Range("C12").CurrentRegion.Offset(1, 0).ClearContents.Range("E6") = Target(1, 0).Range("E7") = Target(1, 2).Range("D10") = Target(1, 1)Do.Range("C13").Cells(r, 1) = Target(r, 3).Range("C13").Cells(r, 2) = Target(r, 4)r = r + 1Loop While Target(r, 5) = SJ.ActivateEnd WithEnd IfEnd IfEnd Sub
2011/7/19 Endut Karim <endutkarim@yahoo.co.id>
>
> Dear XL-Mania's,
> Mohon bantuan
> Saya punya Daftar Surat Jalan dan Form Surat Jalan,> yang diinginkan apabila No. Surat Jalan pada Daftar Surat Jalan diKlik> maka Form Jalan akan tercetak di layar maupun ke printer.> Terlampir Daftar Surat Jalan dan Formnya
> Thnaks bantuannya
> Regard
> Effendy Karim
Nenhum comentário:
Postar um comentário