Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-03-2024, 03:16 AM
Italophile Italophile is offline Addressing timing issues (doing things too fast causes a problem) Windows 11 Addressing timing issues (doing things too fast causes a problem) Office 2021
Expert
 
Join Date: Mar 2022
Posts: 563
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Timing issues are common when VBA code invokes functions that are not under the control of the host application, especially if those functions are called repeatedly in a loop.



Copy and Paste are functions of the OS. As VBA can execute more quickly than data can be transferred to, and, especially, from, the clipboard it is necessary to use DoEvents, as Andrew suggested.

If the code calls another application, a delay timer may be necessary.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Addressing timing issues (doing things too fast causes a problem) creating a named row for dynamic addressing trevorc Excel Programming 8 07-08-2018 03:21 AM
Need help fast! taavidude Outlook 1 07-30-2014 01:03 AM
Addressing timing issues (doing things too fast causes a problem) Addressing families of different sizes ryanjanus Mail Merge 2 12-17-2012 07:05 PM
Addressing mailing envelopes WildBill Outlook 0 12-29-2011 03:20 PM
Outlook 2000 addressing problem speigel Outlook 0 11-08-2006 02:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft