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: 85
Default Timing when loading a picture

I have a macro (call it TheFinalPrintMacro) that calls two other macros:
(call them (LoadPicture) and (PrintLetter)

The first macro (LoadPicture) changes out the image in Image1 on Sheet1,
based upon the selection in a drop list. This macro works fine on its own.

The second macro (PrintLetter) simply prints a portion of the the page
(Sheet1) that contains, among other things, the image in the first. This
macro works fine on its own.

TheFinalPrintMacro simply consists of calling the other macros in order:

Sub FinalPrintMacro

LoadPicture
PrintLetter

EndSub

The problem is that the letter is printing before the picture has been
loaded and I DON'T KNOW WHY. I don't know if I need to have the system
wait a couple of seconds or verify that it has completed the LoadPicture
function before calling PrintLetter. Please help.
 
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
Advancing Timing lsmft Excel Discussion (Misc queries) 2 April 9th 06 04:04 PM
Timing Issue?? Geoff Excel Programming 4 June 29th 05 05:50 PM
Timing Chart sveasie Charts and Charting in Excel 1 February 18th 05 02:01 AM
VB timing question Pakenn Excel Programming 1 June 14th 04 01:37 PM
Program timing Christof DB Excel Programming 3 October 24th 03 04:56 PM


All times are GMT +1. The time now is 09:15 AM.

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"