It sounds like you're trying to create a userform in Excel, copy the userform to an email in Outlook, Send the email, have the recipient change something and click a button and have the userform respond to your Excel workbook? I don't think you're going to have any luck with that approach. Even though your userform is modeless, it still relies on the VBA contained in your open workbook. Even if it were possible to put the userform into an email, all macro references (like a button) would point to macros in a locally opened workbook. There is no option to include a workstation host name! As an alternative: I've not looked at VBA for Outlook, but perhaps it would be possible to create the userform within Outlook, then develop your requirement around that? Or: Create an Excel workbook that has the userform, and create a Workbook_Open event macro that displays the userform. the button would then have to update some other data source, like a file in a network folder. then, provide a link in the email for THAT workbook. Depending on your network environment, you may have a messenger client that you could use to send a notification to yourself.
Paul ----------------------------------------- “Do all the good you can, By all the means you can, In all the ways you can, In all the places you can, At all the times you can, To all the people you can, As long as ever you can.” - John Wesley ----------------------------------------- >________________________________ > From: Sunil Patil <sunil.patil...@gmail.com> >To: excel-macros@googlegroups.com >Sent: Tuesday, September 30, 2014 5:36 PM >Subject: $$Excel-Macros$$ Need help to mail userform on outlook body > > > >Hi firends, > > >i have one project. on sheet1 i have modless userform and some values. I need >a vba code in such a way that i can mail the value and userform to outlook >mail body, >so i can perform some action once its pasted into outlook body,, if i lick on >ok it will display msgbox to me, > > >please help me sending userform from excel to outlook body, > > >regards, >Sunil -- >Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s >=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ >https://www.facebook.com/discussexcel > >FORUM RULES > >1) Use concise, accurate thread titles. Poor thread titles, like Please Help, >Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get >quick attention or may not be answered. >2) Don't post a question in the thread of another member. >3) Don't post questions regarding breaking or bypassing any security measure. >4) Acknowledge the responses you receive, good or bad. >5) Jobs posting is not allowed. >6) Sharing copyrighted material and their links is not allowed. > >NOTE : Don't ever post confidential data in a workbook. Forum owners and >members are not responsible for any loss. >--- >You received this message because you are subscribed to the Google Groups "MS >EXCEL AND VBA MACROS" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to excel-macros+unsubscr...@googlegroups.com. >To post to this group, send email to excel-macros@googlegroups.com. >Visit this group at http://groups.google.com/group/excel-macros. >For more options, visit https://groups.google.com/d/optout. > > > -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout.