![VBA 宏从特定单元格获取电子邮件地址并向所有地址生成电子邮件](https://linux22.com/image/1652258/VBA%20%E5%AE%8F%E4%BB%8E%E7%89%B9%E5%AE%9A%E5%8D%95%E5%85%83%E6%A0%BC%E8%8E%B7%E5%8F%96%E7%94%B5%E5%AD%90%E9%82%AE%E4%BB%B6%E5%9C%B0%E5%9D%80%E5%B9%B6%E5%90%91%E6%89%80%E6%9C%89%E5%9C%B0%E5%9D%80%E7%94%9F%E6%88%90%E7%94%B5%E5%AD%90%E9%82%AE%E4%BB%B6.png)
答案1
我设法这样做:
Contact = Worksheets("Sheet16").Cells(2,8).Value
Contact1 = Worksheets("Sheet16").Cells(2,12).Value
Contact2 = Worksheets("Sheet16").Cells(2,16).Value
Contact3 = Worksheets("Sheet16").Cells(2,20).Value
' We build the emails below
Worksheets("Sheet16").Cells(12,1).Value = Contact & ";" & Contact1 & ";" & Contact2 & ";" & Contact3