Re: [VBA ] 有關使用AutoFill物件
autofill真是ㄅ暴難用的 不如直接用VB填入dateserial()
Sub hijk()
k = 20
Set R1 = Range(Cells(1, 1), Cells(k, 1))
Set R2 = Range(Cells(1, 2), Cells(k, 2))
For Each c In R1
c.Value = DateSerial(2006, 6, c.Row)
Next
For Each c In R2
c.Value = DateSerial(2006, 6, c.Row)
Next
R2.NumberFormatLocal = "DDD"
End Sub
--
Google 關鍵字 : MPFC-TCP / 殺人笑話 / 包租婆也有過當羅莉的時候
Youtube關鍵字 : 脫衫脫褲 / 傻蛋奧運 / 宗教審訊 / 買張床 / 單車超人 / 謳歌金錢
*美髮師登山隊 http://tinyurl.com/dm6lh3 *Ypres 1914 http://tinyurl.com/b432jb
[蒙帝派松正體中文計畫] http://www.youtube.com/user/JamesBondXD
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.120.168.228
討論串 (同標題文章)