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 strongm 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: *

  1. IncredibleVolk

    TEXT FILE STRING HANDLING

    Thank You PHV. That worked great. Now I have another problem. Does it allow for an "OR" correlation? I was removing another line that started to the far left using this: strcomp(left(strCurrentLine,1)," ") = 0 Is there a way that could be added to this? If Len(strCurrentLine) > 45 And...
  2. IncredibleVolk

    TEXT FILE STRING HANDLING

    I can't understand why this doesn't work and I was hoping someone can help me. I want to exclude certain lines from a text file based on conditions. This is giving me a result when I print out the msgbox but the file I'm writing to is coming up empty. Basically I want to keep everything where...
  3. IncredibleVolk

    NEED HELP WITH EXCEL TIME BASED FORMULA

    Skip, Is there any chance you can forward a spreadsheet example to jamesvolkman@yahoo.com ? I understand the corresponding sequence values but it's hard to follow everything. I appreciate your help as I could have never considered this approach.
  4. IncredibleVolk

    NEED HELP WITH EXCEL TIME BASED FORMULA

    I was hoping someone might be able to help with a formula I'm attempting. We classify different time segments throughout the day as prime hours and I need to total those hours. The biggest problem is that the prime hours for Saturday are different than the prime hours of Monday through Friday. I...
  5. IncredibleVolk

    INSERT SPACES AT START OF LINE

    We use a terminal mainframe that stores an internal date. The internal date is the number of days since December 31st, 1967. I've tried reaching that number (i.e. 14,708) but I can't seem to get it work. This will give me an out of range error. Is there a float version of "intsltime"? I...
  6. IncredibleVolk

    HOW TO DECREMENT DATE???

    Huntersdad, Upon further thought you were actually correct. I just needed to assign the month and decrement the year once we reached December. Integer TotalMonths = 11 For Loops = 1 upto TotalMonths iDay = 1 iMonth-- if iMonth == 0 iDay = 1 iMonth = 12 iYear-- endif
  7. IncredibleVolk

    INSERT SPACES AT START OF LINE

    I decided to cut my losses. I don't know Aspect well enough to be doing file manipulations.
  8. IncredibleVolk

    INSERT SPACES AT START OF LINE

    We use a terminal mainframe that stores an internal date. The internal date is the number of days since December 31st, 1967. I've tried reaching that number (i.e. 14,708) but I can't seem to get it work. This will give me an out of range error. Is there a float version of "intsltime"? I...
  9. IncredibleVolk

    HOW TO DECREMENT DATE???

    ...month will work. You also need to rollback by year. This gave me the first day of the month for the previous two months. for Loops = 0 upto 1 ******GO BACK ONE MONTH************ lCurTime = $LTIME ltimeints lCurTime iYear iMonth iDay iHour iMin iSec if iMonth == 1 iMonth = 12 iDay = 1...
  10. IncredibleVolk

    INSERT SPACES AT START OF LINE

    I don't have a good understanding of file manipulation using aspect and I was hoping someone could help. I'm determining the length of each line in a text file. If the length is longer than 12 characters, I want to insert several spaces at the start of the line. I basically want to push the data...
  11. IncredibleVolk

    HOW TO DECREMENT DATE???

    ...integer Loops integer iWeekday,iDayYear,iLeapYear long Timeval txflush pause 1 rxflush pause 1 for Loops = 0 upto 1 **FIRST DAY OF THE MONTH** ltimeints $LTIME iYear iMonth iDay iHour iMin iSec if iMonth == 1 ;If currently January iMonth = 12 ;Then assign month to December iYear-- ;And...
  12. IncredibleVolk

    WINDOW FOCUS

    I think you're right. Thanks.
  13. IncredibleVolk

    WINDOW FOCUS

    ..."<IP ADDRESS> - Remote Desktop" pause 1 winfocus "<IP ADDRESS> - Remote Desktop" pause 3 winmaximize $ACTIVEWIN ;maximize remote window pause 1 ***I CAN'T GET IT TO PLACE FOCUS*** winactivate "Log On To Windows" winfocus "Log On to Windows" enable WINDOW $FOCUSWIN pause 1 sendkeystr...
  14. IncredibleVolk

    QUESTION ON COUNTER

    Nevermind. I guess I don't need to increment when using a for loop.
  15. IncredibleVolk

    QUESTION ON COUNTER

    I have a process that employs rget to grab a number off the screen, place that number into an integer, and loops that many number of times. The problem I'm having is that Counter is incrementing twice for each loop as opposed to one time. I tried Counter = Counter + 1 and got the same result...
  16. IncredibleVolk

    FIRST OCCURRENCE MINUS LAST OCCURRENCE

    GlennUK, That worked great. Thanks again and I appreciate everyone's input. You're showing me things I never knew Excel could do.
  17. IncredibleVolk

    FIRST OCCURRENCE MINUS LAST OCCURRENCE

    I think this is on the right track. =IF(COUNTIF($A$2:$A$1305,A2)=1,D2-C2,IF(COUNTIF($A$2:A2,A2)=COUNTIF($A$2:$A$10676,A2),D2-C2,""))
  18. IncredibleVolk

    FIRST OCCURRENCE MINUS LAST OCCURRENCE

    That's not really working. There are other columns in the report so I need the time to match against column A listed above. Also, the time is actually a recording of an action and we can have actions happening on the account beginning and ending at the same exact time and it only seems to be...
  19. IncredibleVolk

    FIRST OCCURRENCE MINUS LAST OCCURRENCE

    GlenUK, I was wondering if there's anyway to alter this array to give the total time between each start and end times. This is for a call report. This formula is currently providing the difference between the minimum start time and maximum end time on the account. Based on the times below that...
  20. IncredibleVolk

    QUESTION ON CONTROL CHARACTER

    I'll give that a try. I decided to scrap the report for now due to a different reason. It appears that DDE starts to fail when you exceed a certain amount of columns and/or records in Excel. I added a few columns to the report and the data became sporadic as though it couldn't hold enough...

Part and Inventory Search

Back
Top