home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / Excel_Time78891532002.psc / Readme.txt < prev    next >
Encoding:
Text File  |  2002-05-03  |  1.1 KB  |  24 lines

  1. '*********************************************************************
  2. ' WARNING: ANY USE BY YOU IS AT YOUR OWN RISK. I provide this code
  3. ' "as is" without warranty of any kind, either express or implied,
  4. ' including but not limited to the implied warranties of
  5. ' merchantability and/or fitness for a particular purpose.
  6. '*********************************************************************
  7.  
  8. A friend of mine asked me about how to let excel periodically update
  9. some worksheets containing stock prices. So the first thing I did was
  10. searching the web for a solution in Visual Basic for Applications.
  11. But the only one I found was to use a 3rd party ActiveX timer control
  12. which you have to place onto a userform. Then I found the VBA command
  13. "Application.onTime" and I had an idea. 
  14.  
  15. Here is my solution only utilizing the VBA onTime command. No need for
  16. ActiveX control or any other 3rd party module.
  17.  
  18. If you find this piece of code useful, please vote for it at Planet-Source-Code.com:
  19. http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=34409&lngWId=1
  20.  
  21.  
  22. Kind regards,
  23. Sebastian Thomschke                                                      05/03/2002
  24. http://www.sebthom.de