Try declaring your variables as Long instead of integer. rc& instead of rc%
From the help file under "Data Types":
Integer from -32,768 to 32,767
Long from -2,147,483,648 to 2,147,483,647
Let me know if this helps...
Add at the beginning of the macro
'$Include "progress.ebh"
Call this once you start the procedure
Progress = 0
Shell("ebrun progress_dlg.ebm", 1)
While
Progress = Completed / Total * 100
DoEvents
' do what ever
Wend
' Finished...
It will be reset to nothing when every instance of EXTRA! Personal Client is closed.
Global LastAccountUsed As String
Sub Main()
Dim Account As String
Account = InputBox("Please enter account below:", , LastAccountUsed)
If Account = "" Then
' Assume cancelled or...
I would like to futher note that a .EBM file has header information the EBEDIT hides (see it by openning in notepad). It is the name, description, icon and such. If you try to "Save As" an .EBM file as a .EBH file, you will get errors when you try to include it. It will complain...
I've wondered the same thing and tested XStatus heavily. It is far more efficient than WaitHostQuiet and any other Wait function. I'm stuck with 6.4 and I've noticed that a running macro always uses 100% of the processor. Adding DoEvents reduces this to zero, it also noticably speeds up the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.