Search found 82 matches

by Dominic_Fichera
Tue Jan 10, 2017 11:03 pm
Forum: Technical / Scripting
Topic: Manually trigger IE onClick event
Replies: 2
Views: 3539

Manually trigger IE onClick event

Hi All, wondering if anyone has come across a way to manually trigger an "onClick" event associated with a button within a page? At the moment, the only way for my to get it working with the web recorder is to have the mouse hover over a button on a page which then shows the "download" button. This ...
by Dominic_Fichera
Mon Nov 07, 2016 3:21 am
Forum: Beginners
Topic: Excel - Manipulate Whole Columns of Data At Once
Replies: 1
Views: 3907

Excel - Manipulate Whole Columns of Data At Once

Hi All, It's been a while since I've posted here, but was wondering if anyone had any tricks on manipulating whole columns of data at once, more specifically, if there was any way to copy a whole column from one document to another. In my example, I'm opening 4 Excel documents and combining them int...
by Dominic_Fichera
Mon May 23, 2016 12:11 am
Forum: Technical / Scripting
Topic: Set Active Page of Page Control
Replies: 3
Views: 4230

Re: Set Active Page of Page Control

Hey Hagchr,

sorry for the delayed response back to you.

I've given both of these solutions a go, combining a couple of ideas, and it's working really well! Thanks so much!

Dominic Fichera
by Dominic_Fichera
Thu May 19, 2016 2:12 am
Forum: Technical / Scripting
Topic: Set Active Page of Page Control
Replies: 3
Views: 4230

Set Active Page of Page Control

Hey all, I'm trying to add a "password protected" tab to my page control. Essentially, I want the tab to prompt users to enter a password, and if it's wrong, bounce them back to another tab. So far, I've got a sub routine that's triggered when the tab is shown (onShow), and it prompts users to enter...
by Dominic_Fichera
Wed Jan 27, 2016 4:31 am
Forum: Beginners
Topic: Clear ComboBox when Style=csDropDownList
Replies: 5
Views: 6045

Re: Clear ComboBox when Style=csDropDownList

All good JRL :) I got the general idea with your explanation and have already modified my script accordingly.
by Dominic_Fichera
Wed Jan 27, 2016 4:17 am
Forum: Beginners
Topic: Clear ComboBox when Style=csDropDownList
Replies: 5
Views: 6045

Re: Clear ComboBox when Style=csDropDownList

That's perfect! Thanks JRL!

Still think it's a bit odd you can't clear the dropdown without resetting the list, but very glad it can be done at all. That makes life much easier!

Thanks again,

Dominic Fichera
by Dominic_Fichera
Tue Jan 26, 2016 11:22 pm
Forum: Beginners
Topic: Clear ComboBox when Style=csDropDownList
Replies: 5
Views: 6045

Clear ComboBox when Style=csDropDownList

Hey guys, Does anyone have a suggestion for how to clear a ComboBox when the Style=csDropDownList? I've tried: 1) The regular: SetDialogProperty>Dialog,ComboBox,Text, 2) Setting one of the "ListText" values as a space (" ") and then SetDialogProperty>Dialog,ComboBox,Text, 3) SetDialogProperty>Dialog...
by Dominic_Fichera
Tue Nov 17, 2015 2:03 am
Forum: Beginners
Topic: Change Tab Order in PageControl
Replies: 1
Views: 3366

Re: Change Tab Order in PageControl

Answered my own question after a bit more playing around.

Set the page index where 0=first position and 1=second position etc.

Thank everyone :)

Dominic Fichera
by Dominic_Fichera
Mon Nov 16, 2015 10:51 pm
Forum: Beginners
Topic: Change Tab Order in PageControl
Replies: 1
Views: 3366

Change Tab Order in PageControl

Hey guys, Wondering if it's possible to change the order of the tabs in Page Control? For example, I've currently got it going Tab 1, tab 2, tab 3, but would like for tab 3 to be the first tab. I've had a play around with some of the options, but it hasn't been able to change the order. Thanks for t...
by Dominic_Fichera
Fri Oct 16, 2015 3:54 am
Forum: Beginners
Topic: Disable Error Messages (Macro Scheduler and VB)
Replies: 4
Views: 5818

Re: Disable Error Messages (Macro Scheduler and VB)

Very slack of me! I answered my own question with some Googling.

FYI for anyone re-reading this post, it goes the line before the code that causes the error:

Code: Select all

    on error resume next
    FindCell = CStr(theCell.Row) & ":" & CStr(theCell.Column)
Thanks,

Dominic Fichera
by Dominic_Fichera
Fri Oct 16, 2015 1:17 am
Forum: Beginners
Topic: Disable Error Messages (Macro Scheduler and VB)
Replies: 4
Views: 5818

Re: Disable Error Messages (Macro Scheduler and VB)

Hey hagchr, Where would I put that in the grand scheme of things: VBSTART Dim xlApp Dim xlBook Sub GetXL Set xlApp = GetObject("FILEPATH").Application Set xlBook = xlApp.ActiveWorkbook End Sub Function FindCell(Sheet,Data) Dim theCell Dim xlValues xlValues = -4163 Dim xlSheet Set xlSheet = xlBook.Wo...
by Dominic_Fichera
Thu Oct 15, 2015 12:42 am
Forum: Beginners
Topic: Disable Error Messages (Macro Scheduler and VB)
Replies: 4
Views: 5818

Disable Error Messages (Macro Scheduler and VB)

Hey guys, I have a script I'm running which will search Excel for specific data. If it can't find that data (which is a valid option) the script presents an error to the users. I know where the errors are caused, but not how to stop them. Since I am working with users who are likely to "freak out" (...
by Dominic_Fichera
Thu Oct 15, 2015 12:24 am
Forum: Technical / Scripting
Topic: Excel Find Cell/GetObject
Replies: 3
Views: 3889

Re: Excel Find Cell/GetObject

hagchr wrote:Hi, It seems to work if you use the full path.

Code: Select all

xlApp = GetObject("C:\Users\...\Book1.xlsx").Application

That works perfectly, hagchr! Thanks! :)
by Dominic_Fichera
Wed Oct 14, 2015 2:58 am
Forum: Technical / Scripting
Topic: Excel Find Cell/GetObject
Replies: 3
Views: 3889

Excel Find Cell/GetObject

Hey all, I'm working on a script which essentially opens an excel document in the background, searches for a cell and returns the co-ords. I've based my script off the one Marcus posted here https://www.mjtnet.com/blog/2010/12/15/mixing-the-native-excel-functions-with-vbscript/ , but with one key ch...
by Dominic_Fichera
Wed Sep 16, 2015 5:47 am
Forum: Technical / Scripting
Topic: IETagEventAttrib not submitting form
Replies: 7
Views: 5175

Re: IETagEventAttrib not submitting form

Hey Marcus,

Hmm... Interesting. Must be another flaw with the Live website in IE11 vs Macro Scheduler :( Everything worked better before we upgraded from IE8 :lol:

I will keep playing around and see how I go. Any chance of Chrome integration anytime in the future?

Thank you,

Dominic
Sign up to our newsletter for free automation tips, tricks & discounts