Dear Pak Ramdhani,
Generalnya seperti ini pak, tinggal dikembangkan saja,
Mudah mudahan membantu.
Dim AppWord As Object
Dim InputCells As Excel.Range
Dim InputCells As Excel.Range
On Error Resume Next
Set AppWord = CreateObject("Word.Application")
AppWord.Visible = True
Set AppWord = CreateObject(
AppWord.Visible = True
Set InputCells = _
Application.InputBox(Prompt:="Select range ato cell", _
Title:="Copy paste ke word", Type:=8)
InputCells.Copy
Application.
Title:="Copy paste ke word", Type:=8)
InputCells.Copy
AppWord.Documents.Add
AppWord.Selection.Paste
AppWord.Selection.
Application.CutCopyMode = False
Set AppWord = Nothing
Set InputCells = Nothing
Set InputCells = Nothing
Thanks, riky
----- Original Message -----From: Ramdhani JamilSent: Wednesday, February 17, 2010 5:38 PMSubject: ]] XL-mania [[ cara ekspor excel ke word dengan vba
to pakar excel mania
saya mo nanya nieh gimana cara ekspor data yang udah si buat di excel di eksport ke
word trus dia langsung ngeprint......
dengan menggunakan VBA di excel
Trims tuk bantuannya
Coba Yahoo! Mail baru yang LEBIH CEPAT. Rasakan bedanya sekarang!
__._,_.___
+-:: XL-mania ::::::::::::::::::::----------------------------------+
| malu bertanya kerja manual... kebanyakan nanya (malas lihat post |
| lama, nanya itu2 aja, males liat help) capeee deh... :( :( :( |
| 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 |
+-------------------------------------------------------------------+
| malu bertanya kerja manual... kebanyakan nanya (malas lihat post |
| lama, nanya itu2 aja, males liat help) capeee deh... :( :( :( |
| 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 |
+-------------------------------------------------------------------+
.
__,_._,___
Nenhum comentário:
Postar um comentário