Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default send temporary data without saving the workbook

Hi all,

Users in different locations use a vba userform.
data from the form are loaded to a workbook template which is saved with a new name and then sent to a central.

I also want a small extraction of the data sent to me. However, as the filing system will be different at each pc, i don't want the user to look for a file where the extracted data are stored. I want my data copies and pasted to a new workbook and then send the workbook (without saving it).

So far I have recorded the following:

Sub copytonew()

Selection.CurrentRegion.Select
Selection.Copy
Workbooks.Add
ActiveSheet.Paste

Application.Dialogs(xlDialogSendMail).Show

End Sub

Everything I do in sendmail-dailog is not recorded!

So, my question comes down to:

What are the possibilities of xlDialogSendMail ?
Is the xlDialogSendmail restricted to special Excel versions?

any help is greatly appriciated,

Thanks in Advance

Sybolt
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default send temporary data without saving the workbook

Op donderdag 23 juli 2015 11:21:53 UTC+2 schreef Roady Mayhem:
Hi all,

Users in different locations use a vba userform.
data from the form are loaded to a workbook template which is saved with a new name and then sent to a central.

I also want a small extraction of the data sent to me. However, as the filing system will be different at each pc, i don't want the user to look for a file where the extracted data are stored. I want my data copies and pasted to a new workbook and then send the workbook (without saving it).

So far I have recorded the following:

Sub copytonew()

Selection.CurrentRegion.Select
Selection.Copy
Workbooks.Add
ActiveSheet.Paste

Application.Dialogs(xlDialogSendMail).Show

End Sub

Everything I do in sendmail-dailog is not recorded!

So, my question comes down to:

What are the possibilities of xlDialogSendMail ?
Is the xlDialogSendmail restricted to special Excel versions?

any help is greatly appriciated,

Thanks in Advance

Sybolt


Hi, again,

I have found the three arguments that you can use in the xldialogsendmail.
One question i have left is: Can you force the sending of the mail without clicking on the 'Send' button in the mail window?

Thanks,

Sybolt
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default send temporary data without saving the workbook

Hi,

Am Thu, 23 Jul 2015 04:52:46 -0700 (PDT) schrieb Roady Mayhem:

I have found the three arguments that you can use in the xldialogsendmail.
One question i have left is: Can you force the sending of the mail without clicking on the 'Send' button in the mail window?


please have a look:
http://www.rondebruin.nl/win/section1.htm


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Send data to another workbook Suzanne Excel Programming 1 July 13th 09 04:50 PM
Saving Workbook 2007 Format in Send Mail Q Seanie Excel Programming 11 January 25th 09 09:22 PM
Send data to a specific worksheet in a closed Workbook INTP56 Excel Programming 0 July 23rd 07 09:38 PM
How to stop Excel from saving a file to a temporary document when. CLL Excel Discussion (Misc queries) 1 November 8th 06 10:16 PM
Excel Creating Temporary File After Saving NicIT Excel Discussion (Misc queries) 1 February 14th 05 01:47 AM


All times are GMT +1. The time now is 10:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"