Silahkan mas
 
 Sub CopytoNewFile(
     Dim i         As Long
     Dim n         As Long
     Dim rLast     As Long
     Dim sht       As Worksheet
     Dim shtTergabung As Worksheet
    Const sNewName As String = "File Baru"
     Const rMulai As Long = 2
 
 Set shtTergabung = Sheets("Jadi File Terpisah")
     Application.
     Application.
 
 i = 2
     For Each sht In Sheets
     With sht
         If sht.Name <> shtTergabung.
             rLast = .Cells(.Rows.
             For n = rLast To rMulai Step -1
                 .Rows(n).EntireRow.
                 i = i + 1
 
 Next n
             .Delete
 
 End If
     End With
 Next sht
 
 ActiveWorkbook.
     Set shtTergabung = Nothing
     Application.
     Application.
 
 End Sub
 
 2009/7/29, agt <antoni.ginting@
 > Dear Pakar
 >
 >
 >
 > Mohon bantuannya utk problem seperti attach:
 >
 > Saya mau copy data dari sheet 1, 2 dan 3 ke file baru seperti di sheet 4.
 > Kalau dgn cara = klik kolom sih bisa, tapi karna datanya banyak dan selalu
 > update, adakah cara yg simple dan manjur?
 >
 >
 >
 > Saya sudah utak-atik di data base belum ketemu nih.
 >
 >
 >
 > Best Regards,
 >
 > Antoni Ginting
 >
 > Jr. Inspection Spt.
 >
 > 2.JPGcid:image006.png@
 > Plant/Head Office:
 >
 > Mailing Address :
 >
 > Wisma KPI
 >
 > Jl. Pupuk Raya Km.2
 >
 > Bontang -75314
 >
 > Kalimantan Timur
 >
 > Phone : +62-548-41091 ext.6211
 > Fax     : +62-548-41417
 > HP      : +628125521121
 > email:  <mailto:antoni.ginting@
 >
 >
 >
 >
 >
 > ____________
 >
 > Disclaimer :
 > ____________
 >
 > This message is intended for the lawful recipient(s) explicitly stated in
 > above only.
 > It may contain confidential information prohibited for any Unauthorized use
 > by any party
 > other than the lawful addressee. The message, information and statement
 > expressed herein
 > should also be legally privileged for the lawful recipient(s)
 >
 > If you are not the intended recipient(s) or person responsible for
 > delivering it to the intended recipient(s)
 > you must therefore be notified not to copy, print, distribute or take any
 > action in
 > reliance on it, directly or indirectly.
 > ____________
 > Please consider ENVIRONTMENT before PRINTING this email .
 >
 
| XL-mania, berjuang untuk rakyat, pancen oyeeee, LANJUTKAN! |
| 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 |
+-------------------------------------------------------------------+
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
 
 
Nenhum comentário:
Postar um comentário