Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

If user decides to not email a report - How get rid of the error message?

Posted on 2013-02-07
4
Medium Priority
?
318 Views
Last Modified: 2013-02-07
Am using sendobject to email a PDF report.  All is working fine thanks to an expert.  But if the user closes the email window because they decide they didn't want to send the email, is there a way to get rid of this error message?  

Runtime error 2501. The SendObject action was cancelled.
0
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 2000 total points
ID: 38865697
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38865735
I posted a sample there that works...
we are just waiting to see what the OP in that thread replies with...
0
 

Author Comment

by:SteveL13
ID: 38865816
Your code worked for me.  Thanks.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38865832
;-)

Oh, and sorry about my comment in your other question...I forgot that the original "Fax" issue was not resolved...
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question