Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Odd error dialog

 
   Windows Help (Home) -> Microsoft Excel RSS
Next:  Code to turn off autofilter  
Author Message
Maury Markowitz

External


Since: Dec 10, 2008
Posts: 1



(Msg. 1) Posted: Fri Jul 24, 2009 12:05 pm
Post subject: Odd error dialog
Archived from groups: microsoft>public>excel (more info?)

I have an Access app that uses Excel to format up and send short e-
mails. This process is fraught with peril, because if Excel puts up a
dialog box you're pretty much rebooting. I've managed to find most of
the problem cases that would do this and eliminate them over time.

However, on ONE USERS machine I'm getting an "error" I have never seen
before. On MailEnvelope.Item.Send a dialog appears saying something
like (sorry, no screen shot) "This document contains hidden columns
that the recipient may be able to view. Send anyway?" There are no
hidden columns. In fact, the line right above the .Send is an autofit
the ensures this is the case.

Does anyone have any idea what might be triggering this?

Any suggestions? Perhaps turning off dialogs in excel? Is there a
downside to that approach?

 >> Stay informed about: Odd error dialog 
Back to top
Login to vote
Dave Peterson

External


Since: Oct 17, 2008
Posts: 38



(Msg. 2) Posted: Fri Jul 24, 2009 7:38 pm
Post subject: Re: Odd error dialog
Archived from groups: per prev. post (more info?)

Just wondering if you actually looked for hidden columns--maybe in hidden
worksheets, too?

Maury Markowitz wrote:
>
> I have an Access app that uses Excel to format up and send short e-
> mails. This process is fraught with peril, because if Excel puts up a
> dialog box you're pretty much rebooting. I've managed to find most of
> the problem cases that would do this and eliminate them over time.
>
> However, on ONE USERS machine I'm getting an "error" I have never seen
> before. On MailEnvelope.Item.Send a dialog appears saying something
> like (sorry, no screen shot) "This document contains hidden columns
> that the recipient may be able to view. Send anyway?" There are no
> hidden columns. In fact, the line right above the .Send is an autofit
> the ensures this is the case.
>
> Does anyone have any idea what might be triggering this?
>
> Any suggestions? Perhaps turning off dialogs in excel? Is there a
> downside to that approach?

 >> Stay informed about: Odd error dialog 
Back to top
Login to vote
Chip Pearson

External


Since: Dec 21, 2008
Posts: 3



(Msg. 3) Posted: Fri Jul 24, 2009 8:09 pm
Post subject: Re: Odd error dialog
Archived from groups: per prev. post (more info?)

The first thing to try is to set DisplayAlerts to False. This prevents
most (but not all) dialogs from being displayed and the code continues
to execute as if the user clicked the default button on the dialog. In
Excel/VBA, this would be

Application.DisplayAlerts = False
' your code here
Application.DisplayAlerts = True

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
[URL="http://www.cpearson.com"]www.cpearson.com[/URL]
(email on web site)





On Fri, 24 Jul 2009 12:05:55 -0700 (PDT), Maury Markowitz
wrote:

>I have an Access app that uses Excel to format up and send short e-
>mails. This process is fraught with peril, because if Excel puts up a
>dialog box you're pretty much rebooting. I've managed to find most of
>the problem cases that would do this and eliminate them over time.
>
>However, on ONE USERS machine I'm getting an "error" I have never seen
>before. On MailEnvelope.Item.Send a dialog appears saying something
>like (sorry, no screen shot) "This document contains hidden columns
>that the recipient may be able to view. Send anyway?" There are no
>hidden columns. In fact, the line right above the .Send is an autofit
>the ensures this is the case.
>
>Does anyone have any idea what might be triggering this?
>
>Any suggestions? Perhaps turning off dialogs in excel? Is there a
>downside to that approach?
 >> Stay informed about: Odd error dialog 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Record the contents of a cell to be pasted into a "Save As.. - I have a spreadsheet that I'm using to create sales quotes. Quotes should have a unique quote number. If you change an expiration date, you should have a new quote number. If you change a quantity, you should have a new quote number. So ... I created...

formula error - have any body tried mod(12,2.4) it should return zero but instead it returns a number any clue here

error propagation in vba - Hi group, I've got this subs containing local error handling: Private MySub() On Error GoTo ErrTrap Sub1 Sub2 ... Exit sub ErrTrap: If Err.Number = 18 Then MsgBox "Error1" Else MsgBox "Error2" End I...

Error Triangle in Corner of Cell - Hi, I have a question about something that is constantly annoying me, those little green error triangles that show up in the corner of a cell if you have an error. I realize that you can remove them, which I spend a lot of time doing becuause they don'...

INDEX MATCH HELL ooops.. I mean HELP! - I know (or at least I think I do) that I can do this with INDEX MATCH. Here is what I want to do. I want to place this formula in cell C4 of Sheet 1. What I want this formula to do is to match the value of B2 of Sheet 1 with a list that is in Sheet 2...
   Windows Help (Home) -> Microsoft Excel All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]