OOm.... saya coba membuat pemecahan masalah dengan menggunakan VBA. Jadi Konsep berfikirnya : Data pada cells di Excel di KOPI ke MS Word, berikut ini koding-nya: (File : Excel Terlampir) ... Puthut Wibowo Sub CopykeWord() ' Butuh References : Microsoft Word object library caranya : Attacment : Penampakan.pdf Dim wdApp As Word.Application, wdDoc As Word.Document, ws As Worksheet Application. Application. Set wdApp = New Word.Application Set wdDoc = wdApp.Documents. For Each ws In ActiveWorkbook. Application. ws.UsedRange. wdDoc.Paragraphs( wdDoc.Paragraphs( Application. wdDoc.Paragraphs( ' Masukan page break setelah semua woorksheet ke kopi If Not ws.Name = Worksheets(Workshee With wdDoc.Paragraphs( .InsertParagraphBef .Collapse Direction:=wdCollap .InsertBreak Type:=wdPageBreak End With End If Next ws Set ws = Nothing Application. ' normal view With wdApp.ActiveWindow If .View.SplitSpecial = wdPaneNone Then .ActivePane. Else .View.Type = wdNormalView End If End With Set wdDoc = Nothing wdApp.Visible = True Set wdApp = Nothing Application. End Sub Private Sub Cmdjalan_Click( Call CopykeWord End Sub On Tue, 9/15/09, Antoni Ginting <antoni.ginting@
|
__._,_.___
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| THR kecil sekali akibat pindah-pindah kerja :D :D :D |
| 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 |
+-------------------------------------------------------------------+
| THR kecil sekali akibat pindah-pindah kerja :D :D :D |
| 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