Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

VBA - Application.Wait -> Run-Time error '438'

$
0
0

Hello

I am trying to "pause the VBA code" for 10 seconds using

Dim temp As String

temp = (Now + TimeValue("0:01:20"))

Application.Wait temp

A simple function that gives me error:

---------------------------
Microsoft Visual Basic for Applications
---------------------------
Run-time error '438':

Object doesn't support this property or method

any suggestion what it might be????

Many thanks

Ivan


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>