Tecnologia, programação e muito Visual FoxPro.

terça-feira, 19 de julho de 2011

Re: ]] XL-mania [[ Cetak Form

 

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 String
   Dim r As Long, i As Long
   Set Daftar = Range("B4").CurrentRegion
   Set Bantu = Daftar.Offset(0, Daftar.Columns.Count - 1).Resize(, 1)
   If Target.Count = 1 Then
      If Target.Column = 3 And Target.Row > 4 Then
         r = 1: SJ = Target.Value
         With 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 + 1
            Loop While Target(r, 5) = SJ
            .Activate
         End With
      End If
   End If
End 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

__._,_.___
Recent Activity:
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| tiap tanggal gajian, order buku "mengapa boss benci chart anda    |
| membludak :) ayo2 pesan yang belum punya....                      |
| www.facebook.com/pages/XL-mania/104233892978057                   |
+-------------------------------------------------------------------+
| DILARANG : MLM, money game, OOT, iklan tanpa izin, SARA, testing, |
| pembicaraan pribadi, one line message,  melecehkan,  tidak sopan. |
+-------------------------------------------------------------------+
| Buat subjek yang kreatif, jangan : "tanya", "help", "mohon bantu" |
| Usahakan besar attachment < 200 kb. Gunakan  winzip  jika  perlu. |
+-------------------------------------------------------------------+
| Ajak teman-teman Anda bergabung dengan mengirim e-mail kosong ke  |
| XL-mania-subscribe@yahoogroups.com atau kirimkan mereka file dari |
| http://groups.yahoo.com/group/XL-mania/files/Promotion/           |
+-------------------------------------------------------------------+
| Berikan testimoni di : http://www.friendster.com/xlmania atau...  |
| http://www.xl-mania.com/2008/06/testimoni-xl-mania.html           |
+-------------------------------------------------------------------+
| Message lama ada di :                                             |
| http://groups.yahoo.com/group/XL-mania/messages [perlu yahoo id]  |
| http://www.mail-archive.com/xl-mania@yahoogroups.com              |
+-------------------------------------------------------------------+
.

__,_._,___

Nenhum comentário:

Arquivo do blog