¸ê®Æ®w¨½²VÂøµÛ2ºØexcel¤å¥ó,¥uª¾¹D2ºØ¤å¥óªº°ß¤@°Ï§O¬O¦³¨S¦³¤@±i¦W¬°"P3"ªºsheet,¦pªG¤£¶}±Ò¤å¥ó¯à¯à°µ¨ì¶Ü?
§Ú¼g¹L¤@Ó¨ç¼Æ,¥i¥H°Ï§O2ºØ¤å¥ó,¦ý°õ¦æ¦³ÂIºC(3500Ó¤å¥ó¥Î12¬í),¤å¥ó¶q¤j,¬Ý¬Ýª©¥D¬O§_¦³§ó¦nªº¤èªk,ÁÂÁÂ
Function Benew(fl$) As Boolean
Dim Fname$, Fpath$, temp$, temp2
Fname = Mid(fl, InStrRev(fl, "\") + 1)
Fpath = Replace(fl, Fname, "")
On Error Resume Next
temp = "'" & Fpath & "[" & Fname & "P3'!R2C1"
temp2 = Application.ExecuteExcel4Macro(temp)
Benew = IIf(temp2 = "Show", True, False)
End Function |