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

[µo°Ý] ¸ó¤ë§ì¸ê®Æªº°ÝÃD

[µo°Ý] ¸ó¤ë§ì¸ê®Æªº°ÝÃD

½Ð°Ý¤@¤U§Ú·Q¥Î¨C¤Ñªº¤é´Á§ì«e¤@¤Ñªº¸ê®ÆÀɮתº¸ê®Æ
¦ý§Ú¹J¨ì¸ó¤ëªº®É­Ô¡A§Ú¼gªº³¡¥÷´N·|¦³°ÝÃD
¥i¥H¨ó§U«ü¾É¤@¤U«ç»ò§JªA¸ó¤ëªº°ÝÃD

Dim MySheet As Worksheet
    Dim D As String
    Dim M As String
    Dim Y As String
    Dim Rowno As Integer


    D = Day(Now) - 1
    Y = Year(Now)
    M = Month(Now)


   If Len(D) = 1 Then
   D = "0" + D
   Else
   D = D
   End If

   If Len(M) = 1 Then
   M = "0" + M
   Else
   M = M
   End If

With Workbooks.Open("C:\\00" + M + "TEST\00" + M + D + "TEST.xls")

ª½±µ¦b¤é´Á¤W´î´N¥i¥H¤F

Sub d1()
Dim mydate As Date
mydate = Date
mydate = mydate - 1
MsgBox (mydate)
End Sub

³o¬O­è´ú¸Õªº §ì¨ì¬O¬Q¤Ñ
¸ü¨Ó´ú¸Õ¸ó¤ë¥÷ §A-2 ¥L¤@¼Ë¥i¥H§ì¨ì5/31
©Ò¥H¥i¥H±q¤é´Á¤Wª½±µ´î
GinBow

TOP

·PÁÂ....§Ú¤j·§ª¾¹D­n­×§ï¤°»ò¦a¤è¤F!!
ÁÂÁÂÀ°¦£!!!!

TOP

        ÀR«ä¦Û¦b : ­n§åµû§O¤H®É¡A¥ý·Q·Q¦Û¤v¬O§_§¹¬üµL¯Ê¡C
ªð¦^¦Cªí ¤W¤@¥DÃD