LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default MsgBox not displaying right away

I have the following code in my program.

myPDF.FileToPDF PSfilename, PDFfilename, ""
If Not FileExists(PDFfilename) Then _
MsgBox PDFfilename & " not created"

It is creating a PDF file from a PS (PostScript) file.
Everything is working fine with one exception.
If "PDFfilename" does not exist, and the code should
print out the message "PDFfilename not created", etc.,
the screen (kind of - the top blue part of the Excel
window) blinks, i.e. the message does not pop right up
(it's as if another program has the focus). I need to
click the mouse within Excel and then the message pops
up. What is happening and how do I get around this
problem?

Thanks

Ray -
 
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
how can I get a msgbox? AND Excel Discussion (Misc queries) 0 February 12th 09 12:47 PM
Msgbox Wildman Excel Worksheet Functions 1 April 26th 05 04:57 AM
help with msgbox shirley Excel Programming 3 February 10th 04 04:58 AM
Msgbox serge Excel Programming 1 January 28th 04 01:48 PM
MsgBox Dave Peterson[_3_] Excel Programming 0 July 23rd 03 02:11 AM


All times are GMT +1. The time now is 11:54 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"