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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by nghiapp

  1. nghiapp

    How to display a negative time in Excel 2003

    Thanks everybody for the advices. I'm trying to calculate flex time of a day. It shall be shown for every day and the accumulated sum of a week. I think I will use two cells of each day, one to show the value in text format and another one in number format to calculate the sum.
  2. nghiapp

    How to display a negative time in Excel 2003

    I would like to display result of a subtraction between two time values in time format "hh:mm". It is OK if the result is positive, but only ###### if negative. How to format the cell to show the result with "-" sign as "-12:23" ?
  3. nghiapp

    Run time error '1004' when running simple 'ClearContents' command

    The error could come if sheet2 is protected. If not try with Sheets("Sheet2").Cells.Select Hope this help.
  4. nghiapp

    How to kill a task in VBA ?

    Thank WinblowsMe, That is what I 'm looking for. It works perfectly (after remove List1). Regards Nghia
  5. nghiapp

    How to kill a task in VBA ?

    Thank for the input. I tried to use the "quit" command just before setting the object to Nothing, but it did not work. The object start with: Set PvDbs = CreateObject(OleDbsObjName$) where OleDbsObjName$ is provided by the other. After finish working with the object, I closed the object by...
  6. nghiapp

    How to kill a task in VBA ?

    In Excel VBA, I invoke a process to run in background. After finish, the process should be closed by setting to Nothing, but sometime it fails to close. I can go to the Task manager or use command line "Taskkill" to kill the process manually. How can I check if it is closed and kill the process...

Part and Inventory Search

Back
Top