Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: 2010noACAPS
  • Order by date
  1. 2010noACAPS

    Pull String from macroA into macroB

    Here's an excerpt of macroA, which both of you two's advice helped update: Global g_Acct ...... Sess0.Screen.Sendkeys("<home>qcus<enter>") ' Get acct# Sess0.Screen.WaitHostQuiet(g_HostSettleTime) g_Acct = Sess0.Screen.GetString(4,60,15) If Right(g_Acct,1) <> "_" then...
  2. 2010noACAPS

    Pull String from macroA into macroB

    Skie, The making of StringC into a Global variable in macroA worked great. macroB pulled it over with no problems. Thanks for the tip. T
  3. 2010noACAPS

    Pull String from macroA into macroB

    Skie, Hmm. I may try that. When macroB runs and takes the user to a certain screen to pull StringC, I've noticed that the user is having to manually go back to a different screen to finish the workflow. What you suggest would allow macroB to run as it did before the update and not mess up...
  4. 2010noACAPS

    Pull String from macroA into macroB

    Skie - I was able to use what MgWils gave me and that worked just fine by just doing everything in macroB. It's good enough for now. :) MgWils - Thanks for all your help. I even got macroA to just one version using the If/then's you suggested. A co-worker is the guinea pig the rest of the...
  5. 2010noACAPS

    Pull String from macroA into macroB

    I don't think that will help either, but I can try it tomorrow when i get to work. But... x9992009999999______ z120c2009999999_____ It seems that instead of pulling a space it's pulling the physical underscore that is showing the length of the field (20 characters) the source is in. (I have 4...
  6. 2010noACAPS

    Pull String from macroA into macroB

    Sorry, forgot about formating... StringC will either look like x9992009999999 or x999x2009999999. I get 2009999999 with the 1st format but when i run for the 2nd format i get 009999999_,the underscore is present. And I'm still getting 009999999_ even with: lpm =...
  7. 2010noACAPS

    Pull String from macroA into macroB

    The state abbreviation is located on multiple screens so it would be possible to use that but I'd have to send the macro to a specific page to pull the state which I know how to do. It's the If/Thens that give me problems.
  8. 2010noACAPS

    Pull String from macroA into macroB

    I will try that: And let you know what happens. I can only work on this between tasks. Ok, basically the "version" is based on the state the product is in. I have the 10 versions of macroA assigned to 10 different buttons and created to send a certain company code to ProgramB.
  9. 2010noACAPS

    Pull String from macroA into macroB

    I can't combine those 2 macros because I have 10 different versions of macroA due to going into the correct section of ProgarmB. If I was a better programmer I could do 10 IF/Thens but I have limited experience. I'm going under the assumption that it would just be easier to go back into...
  10. 2010noACAPS

    Pull String from macroA into macroB

    I have created a few macros to use at work to automate some repetitive tasks. I have 1 that I need to alter for a new process. When I'm in Extra I move from 1 "program" to another. My macroA is setup to get StringA from ProgramA, SendKeys, and then paste StringA. MacroB was created to put...
  11. 2010noACAPS

    User defined input from dialog box.

    Well, it's not the editor that's crapping out. When I'm in the editor the macro works fine, it's when I run the macro through Extra! that the If...Then statements get skipped over and the macro just goes to the screens I tell it to at the beginning and then goes to "USEREXIT" where I tell it to...
  12. 2010noACAPS

    User defined input from dialog box.

    HELP! When I step through the code it works perfectly, but when I run it it totally skips my If...Then statements. How is that possible? Here is part of my code since it's 5 pages worth all together. Please, help I do not understand how it can skip the If....Then's. DIM VO as dlgVer...
  13. 2010noACAPS

    User defined input from dialog box.

    I'm not sure what you mean. Store what in the cancel button?
  14. 2010noACAPS

    User defined input from dialog box.

    I found this in help, and I think it fixed my problem. On Error GoTo Debugger Dialog VO ..... done: Exit Sub Debugger: msgtext="Exiting Macro" 'changed from error #... 'occrured on blah line. MsgBox msgtext Resume done End Sub
  15. 2010noACAPS

    User defined input from dialog box.

    I forgot about my Cancel... When I push the Cancel button it tells me: Command failed Line number: 128 Stopping macro playback. Line 128 is "Dialog VO", where I open my dialog box. How do I tell the macro to clear the variables and stop the macro playback?
  16. 2010noACAPS

    User defined input from dialog box.

    calculus, That worked great! Thanks for all your help. Todd
  17. 2010noACAPS

    User defined input from dialog box.

    OK, I got my macro to work except for: MyNum = VO.MoPmt - VO.SecPmt It keeps telling me it's a type mismatch. What does that mean? If I put double quoates around the VOs, the whole line gets put on screen.
  18. 2010noACAPS

    User defined input from dialog box.

    Ah, the ListItem makes since, duh! Thanks. Yeah, I don't know VBA yet. I have an O'Reilly's book on VB & VBA so I'll look in there and see if there's any examples of dialogs. Thanks calculus.
  19. 2010noACAPS

    User defined input from dialog box.

    I think I need to use a dialog box because I have 14 values that need to be put into 15 different fields on 5 different pages. InputBoxes just seem like they may be confusing to some users. And I'm still not clear on how to have options for the dropdown menu. But I can just make it a text...
  20. 2010noACAPS

    User defined input from dialog box.

    I need help with a dialog box I'm creating. I have Extra! 6.7x, which has a dialog designer so I can generate the dialog box code fine. I have 3 issues: 1) I'm not sure how to make the PutString line look to put the user defined string on the screen I have the macro go to. 2) I want to have...

Part and Inventory Search

Back
Top