DDE°O¿ý¦p¦ó½Æ»s¦b¤£¦P¤u§@ªí
- ©«¤l
- 79
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 111
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-12-20
- ³Ì«áµn¿ý
- 2022-8-3
|
DDE°O¿ý¦p¦ó½Æ»s¦b¤£¦P¤u§@ªí
¬Ý¤F³o½gDDE¼Æ¾Ú¨C¤ÀÄÁ¬ö¿ý¤U¨Ó¹ï©ó豵IJVBA¤£À´ªº§Úı±o«D±`¹ê¥Î
¹ï©ó¦p¦ón°O¿ý ¤Þ¥ÎGBKEE¤j¤jªº³o¥y 'R ¬OA3ªº¤½¦¡ =Data!B2 ©Ò«üªº¦ì¸m °²¦p³o¬O°O¿ý¥x«ü´ÁªºDDE ¨Ã¦P®É¤]n°O¿ý¹q¤l´Á»Pª÷¿Ä´ÁªºDDE¦b¤£¦P
ªº¤u§@ªí¦pSheet5(¹q¤l´Á)»PSheet6(ª÷¿Ä´Á) ¤£À´ªº§Ú¸ÕµÛ·Ó§Û ÁÙ¬O¤£¦æ½Ð±ÐÀ³¸Ó¦p¦ó°µ ¥H¤U¬O¤Þ¥ÎGBKEE¤j¤jªºVBA ¨Ã¥[¤J§Ú¿ù»~ªº¤èªk- Private Sub Workbook_Open()
- If Time >= TimeValue("08:45:00") And Time <= TimeValue("13:45:00") Then
- Sheet2.[B7:G307] = ""
- change
- Else
- Application.OnTime "09:01:00", "ThisWorkbook.change"
- End If
- End Sub
- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
- Private Sub change()
- Dim TimeRange As Range, Rng As Range, R As Range
- With Sheet2
- Set TimeRange = .[A:A].Find(Format(TimeSerial(Hour(Time), Minute(Time), 0), "hh:mm"), LookIn:=xlValues)
- Set Rng = TimeRange.Offset(, 1).Resize(1, 6)
- Set R = Application.Evaluate(Mid(.Range("A3").Formula, 2))
- 'R ¬OA3ªº¤½¦¡ =Data!B2 ©Ò«üªº¦ì¸m
- With Sheet5 '¹q¤l´Á§Ú¥[¤Jªº³¡¤À
- Set TimeRange = .[A:A].Find(Format(TimeSerial(Hour(Time), Minute(Time), 0), "hh:mm"), LookIn:=xlValues)
- Set Rng = TimeRange.Offset(, 1).Resize(1, 6)
- Set R = Application.Evaluate(Mid(.Range("A3").Formula, 3))
- 'R ¬OA3ªº¤½¦¡ =Data!B2 ©Ò«üªº¦ì¸m
- With Sheet6 'ª÷¿Ä´Á§Ú¥[¤Jªº³¡¤À
- Set TimeRange = .[A:A].Find(Format(TimeSerial(Hour(Time), Minute(Time), 0), "hh:mm"), LookIn:=xlValues)
- Set Rng = TimeRange.Offset(, 1).Resize(1, 6)
- Set R = Application.Evaluate(Mid(.Range("A3").Formula, 4))
- 'R ¬OA3ªº¤½¦¡ =Data!B2 ©Ò«üªº¦ì¸m
- End With
- End With
- End With
- Rng.Value = R.Offset(, 1).Resize(, 6).Value
- If Time > TimeValue("13:45:00") Then Exit Sub
- Application.OnTime Now + TimeValue("00:01"), "ThisWorkbook.change"
- End Sub
½Æ»s¥N½X ¥u·|°O¿ý³Ì«á¤@ÓSheet6 ½Ð¤j¤j«ü¾É¸Ó¦p¦ó¥[¤J ÁÂÁ |
|
|
|
|
|
|
- ©«¤l
- 79
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 111
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-12-20
- ³Ì«áµn¿ý
- 2022-8-3
|
ÁÂÁÂGBKEE¤j¤j¦Ê¦£¤¤©âªÅ«ü¾É ³Ìªñ¥|¤Ñ³s°²µ¥¶}½L¦A¨Ó¸Õ¸Õ
§Ú·Q¸g¤j¤j¬Ý¹LÀ³¸Ó¬O¨S°ÝÃD¤F ·PÁ±z!! |
|
|
|
|
|
|
- ©«¤l
- 79
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 111
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-12-20
- ³Ì«áµn¿ý
- 2022-8-3
|
¦^´_ 10# GBKEE
³Â·Ð¤j¤jÀ°§Ú¬Ý¬Ý ÁÂÁÂ
test.zip (106.73 KB)
|
|
|
|
|
|
|
- ©«¤l
- 79
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 111
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-12-20
- ³Ì«áµn¿ý
- 2022-8-3
|
½Ð¤j¤jÀ°§Ú¬Ý¤@¤U §Ú¥Î³o¼Ë¦n¹³¤£¹ï §Ú¦³¸Õ¹L²¾¨Ó²¾¥h¨S·§©À¤£ª¾©ñ¦bþ¸Ì ¦ýSheet6§Ú¦³¥[
¤½¦¡ µM«áSheet6Àx¦s®æ¦³©¹¤U©Ô¨ìSheet2!B307 ³Â·Ð¤j¤j¤F ÁÂÁÂ- Private Sub Workbook_Open()
- If Time >= TimeValue("08:45:00") And Time <= TimeValue("13:45:00") Then
- Sheet2.[B7:G307] = ""
- change
- Else
- Application.OnTime "09:01:00", "ThisWorkbook.change"
- End If
- End Sub
- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
- Private Sub change()
- Dim TimeRange As Range, Rng As Range, R As Range
- With Sheet2
- Set TimeRange = .[A:A].Find(Format(TimeSerial(Hour(Time), Minute(Time), 0), "hh:mm"), LookIn:=xlValues)
- Set Rng = TimeRange.Offset(, 1).Resize(1, 50)
- Set R = Application.Evaluate(Mid(.Range("A3").Formula, 2))
- 'R ¬OA3ªº¤½¦¡ =Data!B2 ©Ò«üªº¦ì¸m
- End With
- Rng.Value = R.Offset(, 1).Resize(, 50).Value
- If Time > TimeValue("13:45:00") Then Exit Sub
- Application.OnTime Now + TimeValue("00:01"), "ThisWorkbook.change"
- End Sub
- Option Explicit
- Private Sub Worksheet_Calculate() 'Sheet6¼Ò²Õªº«ºâ¨Æ¥ó
- '»Ý¥ý¦bSheet6 ¼g¤W¤½¦¡ ¤w¼g¤W¤½¦¡
- '³o¸Ì¦³¥[¤FA7=Sheet2!B7©¹¤U©Ô Sheet2ªº¶}½L»ù
- '³o¸Ì¦³¥[¤FB7=Sheet2!C7©¹¤U©Ô Sheet2ªº¦¬½L»ù
- '¼Æ¾Ú±qA4©¹¤U°O¿ý ¨Ò:A4 ="¦¬½L»ù"
- With Range("A" & Rows.Count).End(xlUp).Offset(1).Resize(1, 18)
- .Value = [A2].Resize(, 18).Value
- .Select
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 79
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 111
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-12-20
- ³Ì«áµn¿ý
- 2022-8-3
|
¤£¦n·N«ä¤S¦A¦¸³Â·Ð¤j¤j ¦pªG§Ú·Q¦bSheet6°Ñ·ÓSheet2¶}½L»ù»P¦¬½L»ù2Äæ¦ì°µÆ[¹î
§Æ±æSheet6¸òµÛSheet2ÅÜ°Ê ¯àÅý¼Æ¾Ú©¹¤U°O¿ý±²¶b¸òµÛ©¹¤U²¾°Ê
´N¥i¥H¬Ý¨ì³Ì·s°O¿ý¦Ó¤£¥Î©Ô±²¶b
§Æ±æ¤j¤j¦A¦¸«ü¾É ÁÂÁÂ!!- Private Sub change()
- Dim TimeRange As Range, Rng As Range, R As Range
- With Sheet2
- Set TimeRange = .[A:A].Find(Format(TimeSerial(Hour(Time), Minute(Time), 0), "hh:mm"), LookIn:=xlValues)
- Set Rng = TimeRange.Offset(, 1).Resize(1, 6)
- Set R = Application.Evaluate(Mid(.Range("A3").Formula, 2))
- 'R ¬OA3ªº¤½¦¡ =Data!B2 ©Ò«üªº¦ì¸m
- Rng.Value = R.Offset(, 1).Resize(, 6).Value
- With Sheet6 '©T©w¦bSheet6Æ[¹îShee2¼ÆÓÄæ¦ì
- .Activate
- Rng.Select
- End With
- End With
- If Time > TimeValue("13:45:00") Then Exit Sub
- Application.OnTime Now + TimeValue("00:01"), "ThisWorkbook.change"
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 79
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 111
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-12-20
- ³Ì«áµn¿ý
- 2022-8-3
|
¤µ¤Ñ¶}½L´ú¸Õ¯uªº¥i¥H ¦n°ª¿³ !!
¹ê¦b«Ü¨ØªAGBKEE¤j¤j ±¹ï¨º»ò¦hºÃÃøÂø¯g³£Ãø¤£Ë¥L¥B¦^Âгt«×¤§§Ö ¯uªº«Ü¦³¤~µØ
¦b¦¹»¡Án«D·PÁ±z^^ |
|
|
|
|
|
|
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 4# jerrystock - Private Sub change()
- Dim TimeRange As Range, Rng As Range, R As Range
- With Sheet2
- Set TimeRange = .[A:A].Find(Format(TimeSerial(Hour(Time), Minute(Time), 0), "hh:mm"), LookIn:=xlValues)
- Set Rng = TimeRange.Offset(, 1).Resize(1, 6)
- Set R = Application.Evaluate(Mid(.Range("A3").Formula, 2))
- 'R ¬OA3ªº¤½¦¡ =Data!B2 ©Ò«üªº¦ì¸m
- Rng.Value = R.Offset(, 1).Resize(, 6).Value ' ***³o¸Ì¤]n: Rªº¼Æ¾Ú «ü©w¨ì Rng
- .Activate
- Rng.Select
- With Sheet5 '¹q¤l´Á§Ú¥[¤Jªº³¡¤À
- Set TimeRange = .[A:A].Find(Format(TimeSerial(Hour(Time), Minute(Time), 0), "hh:mm"), LookIn:=xlValues)
- Set Rng = TimeRange.Offset(, 1).Resize(1, 6)
- Set R = Application.Evaluate(Mid(.Range("A3").Formula, 3))
- 'R ¬OA3ªº¤½¦¡ =Data!B2 ©Ò«üªº¦ì¸m
- Rng.Value = R.Offset(, 1).Resize(, 6).Value ' ****Sheet6ªº ³o¸Ì¤]n: Rªº¼Æ¾Ú «ü©w¨ì Rng
- .Activate
- Rng.Select
- With Sheet6 'ª÷¿Ä´Á§Ú¥[¤Jªº³¡¤À
- Set TimeRange = .[A:A].Find(Format(TimeSerial(Hour(Time), Minute(Time), 0), "hh:mm"), LookIn:=xlValues)
- Set Rng = TimeRange.Offset(, 1).Resize(1, 6)
- Set R = Application.Evaluate(Mid(.Range("A3").Formula, 4))
- 'R ¬OA3ªº¤½¦¡ =Data!B2 ©Ò«üªº¦ì¸m
- Rng.Value = R.Offset(, 1).Resize(, 6).Value 'Rªº¼Æ¾Ú «ü©w¨ì Sheet6ªº Rng
- .Activate
- Rng.Select
- End With
- End With
- End With
- If Time > TimeValue("13:45:00") Then Exit Sub
- Application.OnTime Now + TimeValue("00:01"), "ThisWorkbook.change"
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|