سؤال

I am trying to send a chart created through Excel VBA, But how to add the recepients dynamically through prompt.

wkbk.SendMail Recipients:="dind_r01@gmail.com" . here how to add the email address(More than 1 email address) through prompt, instead of defining it in code.

هل كانت مفيدة؟

المحلول

wk.SendMail Recipients:=Application.InputBox("Please enter email address:", "Email Address", , , , , 2)
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top