Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I currently have an Excel book then when a button is pressed the vb
behind it saves the book and then emails it via Outlook. My problem is the company firewall prevents it being sent. Can't change the firewall rules, hence is there a way around it, i.e. disable or delete the vb during the save? or do I need rather than save the book to save the relevant sheet to another book - don't know the syntax ???? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Your problem could be a couple of different situations.
1) The firewall is doesn't allow .xls files to be attached to an e-mail Solutions: Send the data as a table. Or rename the xls file to slx. Tell the people who receive the e-mail to rename the file before using the file. Most filewalls look only for specific extensions on files and block these extensions. Attaching an unknown extension usually doesn't get blocked. 2) The firewall doesn't allow .xls files with macros to be sent. Remove the macros before sending the file. "Paul Dennis" wrote: Hi, I currently have an Excel book then when a button is pressed the vb behind it saves the book and then emails it via Outlook. My problem is the company firewall prevents it being sent. Can't change the firewall rules, hence is there a way around it, i.e. disable or delete the vb during the save? or do I need rather than save the book to save the relevant sheet to another book - don't know the syntax ???? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Activesheet.copy
creates a copy of the sheet in a new workbook. then you can work with ActiveWorkbook. -- Regards, Tom Ogilvy "Paul Dennis" wrote: Hi, I currently have an Excel book then when a button is pressed the vb behind it saves the book and then emails it via Outlook. My problem is the company firewall prevents it being sent. Can't change the firewall rules, hence is there a way around it, i.e. disable or delete the vb during the save? or do I need rather than save the book to save the relevant sheet to another book - don't know the syntax ???? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Push Button in Outlook to Change Focus to Outlook Contact List | Excel Programming | |||
excel open in outlook if outlook is running | Excel Discussion (Misc queries) | |||
Outlook Automation Error Problem - Can't locate Outlook Module | Excel Programming | |||
Late Binding to Outlook from Excel: Outlook modifies email body | Excel Programming | |||
Display mail application either in Outlook, or Outlook express | Excel Programming |