ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] Function WarningGreater §PÂ_¦¡­×§ï¸ò°O¿ý~

[µo°Ý] Function WarningGreater §PÂ_¦¡­×§ï¸ò°O¿ý~

¤p§Ì¦³¤@­Ó§PÂ_¦¡·Q­n­×§ï¸ò°O¿ý¡A¥\¤O¤Ó²L¡A¤@ª½§ï¤£¦n¡A¦³¤j¤j¥i¥HÀ°À°¦£¶Ü~

--------------------------------------------------------
Function WarningGreater(SPrice As Range, WPrice As Range)

WarningGreater = "GO"
If WPrice.Value > 0.25 Then
Call PlayWavFile("C:\touch.wav", False)
MsgBox SPrice.Value & "----" & WPrice.Value
WarningGreater = "GOOD"

End If

End Function

------------------------------------------------------------

¥H¤W
1¡B¨C·í±ø¥ó¦¨¥ß®É¡A§Ú·Q¦b¥¦¸õ¥Xmsgbox®É¦P®É±N¸Ó¦æªº¤º®e¸ò¦¨¥ßªº®É¶¡
copy¨ìsheet2ªºa1°Oºñ¤U¨Ó¡C

2¡B·í±ø¥ó¤@ª½¦¨¥ß®Émsgbox¡A¥¦·|Åܦ¨µL­­ªº°j°é¡A¦p¦ó¦b¥¦¸õ¡A¥X¤­¦¸®É
´N¤£­n¦A¸õ¥X¡A©ÎªÌª½±µ±N¸Ó¦æ¦Û°Ê§R°£±¼.

1.
  1. worksheets("sheet2").range("A65536").end(xlup).offset(1,0) = SPrice.Value "----" & WPrice.Value & " " & now()
½Æ»s¥N½X
2. WarningGreater¬O¦b¨º¸Ì©I¥s?
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

1.¤£¦n·N«ä¡Aworksheets("sheet2").range("A65536").end(xlup).offset(1,0) = SPrice.Value & "----" & WPrice.Value & " " & now() ³o¬O­n©ñ¦b­þ§r¡A§Ú¸Õ¤F¦n¹³³£¤£¦æ­C¡C
2.WarningGreater§Ú¬O¥Î¨Ó§PÂ_dde¶Ç¨Óªº­È§Ú®M¤J¤½¸Õ©Ò±o¨ìªºµ²ªG¡A©Ò¥HWPrice.Value³o­Ó­È·|¤@ª½ÅÜ°Ê

TOP

        ÀR«ä¦Û¦b : ¤H­n¦Û·R¡A¤~¯à·R´¶¤Ñ¤Uªº¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD