nel1215 Posted March 24, 2008 Report Share Posted March 24, 2008 Hi, I am trying to create a macro to copy, paste, import, and move to the next record in our database. There are well over 50k records and it will take a bit of time. Macro Express is a savior. However, there a few records that it will not work with. Is there a way to have macro express pause when there is an error that pops up? Basically, I want it to pause, then i would manually skip that record, and then hopefully click another button to relauch the Macro Express macro. Any help is appreciated. Thanks! Quote Link to comment Share on other sites More sharing options...
johnboy691 Posted March 24, 2008 Report Share Posted March 24, 2008 Can you give some more information. I have excel reports that have data at your limits and have no problems. Are you copying data from excel, manipulating it and trying to put it back? If you can give some specifics and exacatly what your errors are...other programs you are pasting to copying from, etc. Maybe myself or others can give you better help. Be as specific as possible. John Quote Link to comment Share on other sites More sharing options...
nel1215 Posted March 24, 2008 Author Report Share Posted March 24, 2008 Can you give some more information. I have excel reports that have data at your limits and have no problems. Are you copying data from excel, manipulating it and trying to put it back? If you can give some specifics and exacatly what your errors are...other programs you are pasting to copying from, etc. Maybe myself or others can give you better help. Be as specific as possible. John Hi John, Thanks for your response. I am creating a macro to import pictures into Filemaker. Filemaker has nearly 50k records. A script was created and set as a button to import the picture. So, the macro basically clicks that button, it browses the directory where the pictures are located and copy the destination and clicks ok, then it moves to the next record and loops again. However, some records, there are no pictures, so an error screen will pop up when that is the case. I would like it to pause so I can cancel out of that error screen and move onto the next record. Hopefully, I'm explaining this clearly. Thanks for any help you or others could provide. Quote Link to comment Share on other sites More sharing options...
johnboy691 Posted March 24, 2008 Report Share Posted March 24, 2008 Here's what I have done in the past. I have one browser based application that once in a while pops up a security warning...what you have to do then is click ok and it goes away and the macro goes on its merry way. This pop-up comes up after I have the macro text type a NumEnter or click. It's the same warning all the time at this point. What I did was put in a couple second delay and then an If Window Title "Enter Network Password" is on top do the NumEnter. If that window doesn't show up it goes on as if it wasn't there. Now, if you have pop-ups with other headings at this point you could still use the If Window command and an OR and then another If Window command with the second possibility...or more. Where I use NumEnter to just clear the pop-up you could insert a Stop Macro, or a Pause...or even a break if you wanted to put everything within a repeat and have it go and start on the next record. Hope this helps or gives you some ideas. John <DELAY:1.25><IFOTH:03:2:Enter Network Password><TEXTTYPE:<NUMENTER>><ENDIF><MSD:150> Quote Link to comment Share on other sites More sharing options...
nel1215 Posted March 24, 2008 Author Report Share Posted March 24, 2008 John, Thank you so much! That is exactly what I needed. The IF Window worked perfectly. Thanks again! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.