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

[µo°Ý] °ÝÃDµo°Ý run-time error 438

[µo°Ý] °ÝÃDµo°Ý run-time error 438

1­Ó°ÝÃD¦V¦U¦ì«e½ú½Ð±Ð

§Ú§Q¥ÎtimeactiveV1©w®É¶¡
¥h¶}±ÒLast 10 Batches³o¤@­ÓÀÉ®×
­n°µ¦bsheet{"SIS")°µ­pºâ (¥Î¦Û°Ê­pºâµLªk¡A¥u¯à¥Îcalculate¥\¯à)

µ{¦¡½s½X¦p¤U


Sub TimerX()
Dim dtToday, TD As String
dtToday = Date
TD = Right(dtToday, 2)
    If TimerActive = True Then
    Application.SendKeys "{UP}"
    Application.OnTime Now() + TimeValue("00:08:05"), "Sheet1.TimerX", False: DoEvents
    Workbooks.Open Filename:="C:\Users\Desktop\Last 10 Batches of R20.xlsm"
    Application.Calculation = xlCalculationAutomatic
   
    Workbooks("Last 10 Batches of R20.xlsm").Calculate
   
    Workbooks("Last 10 Batches of R20.xlsm").Close SaveChanges:=True
    Application.Calculation = xlCalculationManual
   
End If
   
End Sub

¦ý¬O³£·|¦b Workbooks("Last 10 Batches of R20.xlsm").Calculate ¥X²{
Run-time error ¡¥438¡¦:
Object doesn¡¦t support this property or method

½Ð±Ð ­n¦p¦ó­×§ï?

Safezipkit-CompressedFile (1).zip (59.33 KB)
²öÅý¥L¤H¿ù»~¶Ë®`¦Û¤v

¦^´_ 2# singo1232001

·PÁ¨ó§U³B²z
´ú¸Õ¤F¤@¤U¡A³o­Ó¦ü¥G­n§âexcel ©ñ¦bautocalculation ªºª¬ºA¤~·|­pºâ
¥B¦]¬°¬O¨Ï¥Î¨ä¥Lapp¥~´¡ªºaddin¥\¯à
¦b¦Û°Êª¬ºA¤U¤]µLªk­pºâ

³q±`§Ú³£»Ý­n¤â¥Î«ö ­pºâ ªº¥\¯à

©Ò¥H¹³³o¼Ëªºµ{¦¡¥i¥H¥[¤JÅý¥L¥h "¤â°Ê­pºâ" ¶}±ÒªºÀɮתº¨ä¤¤¤@­Ósheet¶Ü?
²öÅý¥L¤H¿ù»~¶Ë®`¦Û¤v

TOP

¦^´_ 1# y54161212

timeactiveV1.zip (22.03 KB)

TOP

        ÀR«ä¦Û¦b : ¦a¤WºØ¤Fµæ¡A´N¤£©öªø¯ó¡F¤ß¤¤¦³µ½¡A´N¤£©ö¥Í´c¡C
ªð¦^¦Cªí ¤W¤@¥DÃD