µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
Excelµ{¦¡°Ï
» excel VBA MAIL¸sµo°ÝÃD
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
excel VBA MAIL¸sµo°ÝÃD
chu0077
µoµu®ø®§
¥[¬°¦n¤Í
chu0077
·í«eÂ÷½u
UID
21980
©«¤l
3
¥DÃD
2
ºëµØ
0
¿n¤À
5
ª÷¿ú
5
ÂI¦W
0
§@·~¨t²Î
WIN7
³nÅ骩¥»
2010
¾\ŪÅv
10
©Ê§O
¨k
¨Ó¦Û
©yÄõ
¦b½u®É¶¡
6 ¤p®É
µù¥U®É¶¡
2015-9-2
³Ì«áµn¿ý
2016-12-9
¤p¾Ç¥Í
©«¤l
3
¥DÃD
2
ºëµØ
0
¿n¤À
5
ÂI¦W
0
§@·~¨t²Î
WIN7
³nÅ骩¥»
2010
¾\ŪÅv
10
©Ê§O
¨k
¨Ó¦Û
©yÄõ
µù¥U®É¶¡
2015-9-2
³Ì«áµn¿ý
2016-12-9
1
#
¸õÂà¨ì
»
˧Ǭݩ«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2015-9-2 17:21
|
¥u¬Ý¸Ó§@ªÌ
excel VBA MAIL¸sµo°ÝÃD
¤£¦n·N«ä §Ú¬O¤@个VBAªì¾ÇªÌ.·Q½Ð±Ð¤@¤U
§Ú·Q¦bEXCEL VBA³]¤@个MAIL¸sµo¤½¦¡.¦ý§Ú¥Ø«e¶È¯à°µ¨ì¦b¤@ÓÀx¦s®æ¸Ìµo°e¤@¥÷MAIL.µLªk±N¤@Ó½d³ò¤ºªº¦h¦ì¦¬¥óªÌ.¤@°_¸sµo.§Ú·Qn±NB2~B5ªº¦¬¥óªÌ³£¤@°_±H¥X.¦ý¥Ø«e¤@ª½°µ¤£¨ì
¥H¤U¬O§Úªºµ{¦¡½X.
Sub sendmail()
Dim objEmail As Object
Const SMTPSERVER = "msa.hinet.net" '¨Ï¥Î msa.hinet.net 传°e邮¥ó
Set objEmail = CreateObject("CDO.Message") '«Ø¥ß CDO ª«¥ó
With objEmail.Configuration.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = SMTPSERVER
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Update
End With
objEmail.From = "
[email protected]
" '±H¥óªÌ¡]ÊI°ì¥²须¦s¦b¡^
objEmail.To = Range("B2").Value '¦¬¥óªÌ
objEmail.Subject = Range("E2").Value '邮¥ó¥D¦®
objEmail.HTMLBody = Range("F2").Value 'HTML邮¥ó内¤å
objEmail.Send
Set objEmail = Nothing
End Sub
½Ð°Ý¥H¤W¸Ó¦p¦óקï
·PÁ¦U¦ì°ª¤â
¥¼©R¦W.jpg
(40.43 KB)
¤U¸ü¦¸¼Æ:1
2015-9-2 17:19
¦¬ÂÃ
¤À¨É
¤p§Ì¬OVBA·s¤â ½Ð¤j®a¦h¦h«ü±Ð
ikboy
µoµu®ø®§
¥[¬°¦n¤Í
ikboy
·í«eÂ÷½u
UID
21753
©«¤l
262
¥DÃD
8
ºëµØ
0
¿n¤À
280
ª÷¿ú
280
ÂI¦W
16
§@·~¨t²Î
xp
³nÅ骩¥»
Office 2007
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
HK
¦b½u®É¶¡
576 ¤p®É
µù¥U®É¶¡
2015-8-11
³Ì«áµn¿ý
2024-10-26
¤¤¾Ç¥Í
©«¤l
262
¥DÃD
8
ºëµØ
0
¿n¤À
280
ÂI¦W
16
§@·~¨t²Î
xp
³nÅ骩¥»
Office 2007
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
HK
µù¥U®É¶¡
2015-8-11
³Ì«áµn¿ý
2024-10-26
2
#
µoªí©ó 2015-9-2 18:58
|
¥u¬Ý¸Ó§@ªÌ
objEmail.To = array([b2],[b3],[b4],[b5])
TOP
ikboy
µoµu®ø®§
¥[¬°¦n¤Í
ikboy
·í«eÂ÷½u
UID
21753
©«¤l
262
¥DÃD
8
ºëµØ
0
¿n¤À
280
ª÷¿ú
280
ÂI¦W
16
§@·~¨t²Î
xp
³nÅ骩¥»
Office 2007
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
HK
¦b½u®É¶¡
576 ¤p®É
µù¥U®É¶¡
2015-8-11
³Ì«áµn¿ý
2024-10-26
¤¤¾Ç¥Í
©«¤l
262
¥DÃD
8
ºëµØ
0
¿n¤À
280
ÂI¦W
16
§@·~¨t²Î
xp
³nÅ骩¥»
Office 2007
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
HK
µù¥U®É¶¡
2015-8-11
³Ì«áµn¿ý
2024-10-26
3
#
µoªí©ó 2015-9-2 19:10
|
¥u¬Ý¸Ó§@ªÌ
Sorry, º|¤F join(Array....., "; ")
TOP
ikboy
µoµu®ø®§
¥[¬°¦n¤Í
ikboy
·í«eÂ÷½u
UID
21753
©«¤l
262
¥DÃD
8
ºëµØ
0
¿n¤À
280
ª÷¿ú
280
ÂI¦W
16
§@·~¨t²Î
xp
³nÅ骩¥»
Office 2007
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
HK
¦b½u®É¶¡
576 ¤p®É
µù¥U®É¶¡
2015-8-11
³Ì«áµn¿ý
2024-10-26
¤¤¾Ç¥Í
©«¤l
262
¥DÃD
8
ºëµØ
0
¿n¤À
280
ÂI¦W
16
§@·~¨t²Î
xp
³nÅ骩¥»
Office 2007
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
HK
µù¥U®É¶¡
2015-8-11
³Ì«áµn¿ý
2024-10-26
4
#
µoªí©ó 2015-9-3 07:56
|
¥u¬Ý¸Ó§@ªÌ
Sub sendmail()
Dim objEmail As Object
Const SMTPSERVER = "msa.hinet.net" '¨Ï¥Î msa.hinet.net 传°e邮¥ó
Set objEmail = CreateObject("CDO.Message") '«Ø¥ß CDO ª«¥ó
With objEmail.Configuration.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = SMTPSERVER
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Update
End With
Dim arr '°²³]±z±N[B2]©¹¤U§@¬°¦¬¥ó¤H¥i¨ÓӰʺA¤@ÂI:
arr = Range("b2:b" & [a65536].End(3).Row)
For i = 1 To UBound(arr)
recipients = recipients & arr(i, 1)
Next
objEmail.From = "
[email protected]
" '±H¥óªÌ¡]ÊI°ì¥²须¦s¦b¡^
objEmail.To = Mid(recipients, 2) '¦¬¥ó¸s
objEmail.Subject = Range("E2").Value '邮¥ó¥D¦®
objEmail.HTMLBody = Range("F2").Value 'HTML邮¥ó内¤å
objEmail.Send
Set objEmail = Nothing
End Sub
TOP
chu0077
µoµu®ø®§
¥[¬°¦n¤Í
chu0077
·í«eÂ÷½u
UID
21980
©«¤l
3
¥DÃD
2
ºëµØ
0
¿n¤À
5
ª÷¿ú
5
ÂI¦W
0
§@·~¨t²Î
WIN7
³nÅ骩¥»
2010
¾\ŪÅv
10
©Ê§O
¨k
¨Ó¦Û
©yÄõ
¦b½u®É¶¡
6 ¤p®É
µù¥U®É¶¡
2015-9-2
³Ì«áµn¿ý
2016-12-9
¤p¾Ç¥Í
©«¤l
3
¥DÃD
2
ºëµØ
0
¿n¤À
5
ÂI¦W
0
§@·~¨t²Î
WIN7
³nÅ骩¥»
2010
¾\ŪÅv
10
©Ê§O
¨k
¨Ó¦Û
©yÄõ
µù¥U®É¶¡
2015-9-2
³Ì«áµn¿ý
2016-12-9
5
#
µoªí©ó 2015-9-3 09:34
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
3#
ikboy
¤j¤j ±zªº¤èªk¦³¥Î ¤Ó¦n¤F «D±`·P¿E±z
:D
¤p§Ì¬OVBA·s¤â ½Ð¤j®a¦h¦h«ü±Ð
TOP
ÀR«ä¦Û¦b :
®É®É¦n¤ß´N¬O®É®É¦n¤é¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·