Tecnologia, programação e muito Visual FoxPro.

segunda-feira, 16 de maio de 2011

Re: ]] XL-mania [[ Pencairan Multiple Sheet

 

kalau di wosit ada permintaan HARUS TANPA PROSES MENGKOPI

sebeNulnya sulit dilaksanakan..
tetapi klaau boleh ada proses mengKopi "tanpa terasa kalau telah terjadi" 
proses copy/paster, ya mungkin boleh seperti ini

Makro ostosmastis dijalankan setiap cell B3 diubah / kriterianya

Private Sub PilterYgMerujukMultiSit()
   ' siti Vi filtering
   '-------------------
   Dim sh As Worksheet
   Dim curRng As Range, dTBL As Range
   Dim Kriteria As Variant
   Dim i As Long, r As Long, c As Integer
   
   Application.Calculation = xlCalculationManual
   Application.ScreenUpdating = False
   
   Set dTBL = Me.Range("A6")
   Kriteria = Me.Range("B3").Value
   dTBL.CurrentRegion.Offset(1, 0).ClearContents
   
   For Each sh In Worksheets
      If sh.Name <> Me.Name Then
         Set curRng = sh.Range("A4").CurrentRegion
         c = curRng.Columns.Count
         For i = 2 To curRng.Rows.Count
            If curRng(i, 3) = Kriteria Then
               r = r + 1
               curRng(i, 1).Resize(1, c).Copy
               dTBL(r, 1).PasteSpecial xlPasteValuesAndNumberFormats
            End If
         Next i
      End If
   Next sh
   Me.Range("B3").Activate
   Application.CutCopyMode = False
   Application.Calculation = xlCalculationManual
   Application.ScreenUpdating = False

End Sub


2011/5/16 Joko Septiawan <joe_030984@yahoo.com>

Dear All
Mohon bantuannya untuk memecahkan masalah berikut...
Bagaimana cara mengambil data cust di banyak sheet...? data terlampir...
Regards
Joko.s

__._,_.___
Recent Activity:
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| maaf baru moderate sekarang... momods kurang tidur berhari-hari   |
| jadi budak kantoooOOooorrr...                                     |
| http://www.facebook.com/group.php?gid=37671048001&ref=mf          |
+-------------------------------------------------------------------+
| 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              |
+-------------------------------------------------------------------+
MARKETPLACE

Find useful articles and helpful tips on living with Fibromyalgia. Visit the Fibromyalgia Zone today!


Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Nenhum comentário:

Arquivo do blog