Search found 1367 matches

by Dorian (MJT support)
Wed Aug 21, 2024 4:26 pm
Forum: Beginners
Topic: OnEvent
Replies: 8
Views: 2620

Re: OnEvent

JRL wrote:
Wed Aug 21, 2024 1:22 pm
Dorian wrote:...and causing Excel to be "busy".
I don't have time to test but if multiple usage is the problem, might SHARING the files alleviate the issue?
I just tried it and unfortunately still had the same issue.
by Dorian (MJT support)
Wed Aug 21, 2024 10:04 am
Forum: Beginners
Topic: OnEvent
Replies: 8
Views: 2620

Re: OnEvent

Excel can perform custom data verification... nodochau might have an alternate method to accomplish his task. I'm still curious about why XLGetCell> would crash if it is used to monitor cell input. Seems like this should work. I just experimented with your example and it throws that error even if I...
by Dorian (MJT support)
Wed Aug 14, 2024 2:41 pm
Forum: Beginners
Topic: OnEvent
Replies: 8
Views: 2620

Re: OnEvent

Excel can perform custom data verification, so this operation can be achieved entirely within Excel, taking the upper and lower values and giving a popup if anything outside those parameters is entered anywhere within a given range. It's in >Data >Data Verification >Data Tools I think then it's >Set...
by Dorian (MJT support)
Mon Jul 29, 2024 12:16 pm
Forum: Beginners
Topic: Saving multiple variables in a loop
Replies: 3
Views: 3280

Re: Saving multiple variables in a loop

Have you tried this? : XLGetSelectedCell>xlBook,data_%k%,intRow,intCol It'll then be in an array. You don't need this line : Let>data=%data% %k% Then to output the data you can do something like this : ArrayCount>data,count let>OutputLoop=0 repeat>OutputLoop Let>OutputLoop=OutputLoop+1 MDL>data_%Out...
by Dorian (MJT support)
Mon Jul 29, 2024 11:22 am
Forum: Beginners
Topic: How To Keep Adding Rows in Excel Without Closing
Replies: 1
Views: 2433

Re: How To Keep Adding Rows in Excel Without Closing

This should get you started. The principle is to open the Excel file first, before the loop, then add one to Row in a loop : //PseudoCode XLOpen>... Let>Row=0 Repeat>This Let>Row=Row+1 XLSetCell>xlh,Sheet1,%Row%,%Col%,Some Data,res Until>This,Something Here's a standalone version that demonstrates t...
by Dorian (MJT support)
Mon Jul 29, 2024 9:56 am
Forum: Technical / Scripting
Topic: Runtime error 216 at *address*
Replies: 2
Views: 2553

Re: Runtime error 216 at *address*

This was a bit beyond me so I asked Marcus.

This is what he had to say :
If it's compiled, enable logging, run it and when the error occurs don't close error but grab log file, see where it got to
.
by Dorian (MJT support)
Fri Jul 26, 2024 2:43 pm
Forum: Enhancement Suggestions
Topic: PDF Display in a Dialog
Replies: 4
Views: 3986

Re: PDF Display in a Dialog

I will pass this along.
by Dorian (MJT support)
Tue Jun 25, 2024 3:40 pm
Forum: General Discussion
Topic: modern email authentication
Replies: 8
Views: 17803

Re: modern email authentication

I just double-checked and app passwords are working with Outlook and RetrievePOP3. App Passwords . You'll also need to let Apps and Devices use POP >Outlook.com > Mail >Sync Email >Let Devices and Apps use POP This is the code I used : //Retrieve POP3 let>POP3_STATUS=1 let>popserver=outlook.office36...
by Dorian (MJT support)
Thu Jun 20, 2024 7:59 am
Forum: Technical / Scripting
Topic: GetWindowChildList not returning all child handles
Replies: 1
Views: 2712

Re: GetWindowChildList not returning all child handles

I've tested and can replicate this in the 15.0.24 too. It seems to see all the windows with captions but not ones without. I have passed this on to dev for investigation.
by Dorian (MJT support)
Wed Jun 12, 2024 1:46 pm
Forum: Technical / Scripting
Topic: CHROMEDRIVER_OPTIONS Syntax
Replies: 8
Views: 9821

Re: CHROMEDRIVER_OPTIONS Syntax

I copied my files to c:\folder\chromefiles\chromeProfile\default to test and used the following. Tested and working : Let>CHROMEDRIVER_OPTIONS=--user-data-dir=/folder/chromefiles/chromeProfile/default OR Let>CHROMEDRIVER_OPTIONS=--user-data-dir=/folder/chromefiles/chromeProfile/default,--start-maxim...
by Dorian (MJT support)
Wed May 15, 2024 6:43 am
Forum: General Discussion
Topic: Block comment will maximize collapsed code blocks
Replies: 3
Views: 5075

Re: Block comment will maximize collapsed code blocks

Got it, thank you. I will pass this on.
by Dorian (MJT support)
Tue May 14, 2024 9:29 pm
Forum: General Discussion
Topic: Block comment will maximize collapsed code blocks
Replies: 3
Views: 5075

Re: Block comment will maximize collapsed code blocks

I'm not able to replicate this. I can't make it remove any codeblocks, whether they're folded or unfolded. But as soon as I type /* anywhere above folded codeblocks they will unfold - but not be removed. Of course they don't do that if I select the code and then use >Edit >Block Comment (or Alt-E, M...
by Dorian (MJT support)
Thu May 02, 2024 6:50 pm
Forum: Beginners
Topic: Pop up when image not found
Replies: 2
Views: 4140

Re: Pop up when image not found

No to the first question. You're calling the entire script.

It will run that script and then continue at the line after Macro>....
Sign up to our newsletter for free automation tips, tricks & discounts