ASDASD
--====================== 不常用SQL語法======================--

M 發表在 痞客邦 留言(0) 人氣()


<script src="https://gist.github.com/michaelctwk/11d75bf00b5c2bd08b78.js"></script>

M 發表在 痞客邦 留言(0) 人氣()

1、查找重複內容公式:
     =IF(COUNTIF(A:A,A2)>1,"重複","")。
2、用出生年月來計算年齡公式:
    =TRUNC((DAYS360(H6,"2009/8/30",FALSE))/360,0)。
3、從輸入的18位身份證號的出生年月計算公式:

M 發表在 痞客邦 留言(0) 人氣()


<script src="https://gist.github.com/michaelctwk/7fb4620e5acd5e803ad0.js"></script>

M 發表在 痞客邦 留言(0) 人氣()

Imports System.Data
Imports System.Net.Mail
Imports System.IO

M 發表在 痞客邦 留言(0) 人氣()





16




10








16




10








16




10








16




10








16




10








16




10








16




10








16




10










0




0




 




10




16



 

20




32




 




30




48




0




40




64




@




50




80




P




60




96




`




70




112




p






1




1




 




11




17







21




33




!




31




49




1




41




65




A




51




81




Q




61




97




a




71




113




q






2




2




 




12




18







22




34




"




32




50




2




42




66




B




52




82




R




62




98




b




72




114




r






3




3




 




13




19







23




35




#




33




51




3




43




67




C




53




83




S




63




99




c




73




115




s






4




4




 




14




20







24




36




$




34




52




4




44




68




D




54




84




T




64




100




d




74




116




t






5




5




 




15




21







25




37




%




35




53




5




45




69




E




55




85




U




65




101




e




75




117




u






6




6




 




16




22



 

26




38




&




36




54




6




46




70




F




56




86




V




66




102




f




76




118




v






7




7




 




17




23



 

27




39




'




37




55




7




47




71




G




57




87




W




67




103




g




77




119




w






8




8




 




18




24



 

28




40




(




38




56




8




48




72




H




58




88




X




68




104




h




78




120




x






9




9




..




19




25



 

29




41




)




39




57




9




49




73




I




59




89




Y




69




105




i




79




121




y






A




10




..




1A




26




..




2A




42




*




3A




58




:




4A




74




J




5A




90




Z




6A




106




j




7A




122




z






B




11




 




1B




27



 

2B




43




+




3B




59




;




4B




75




K




5B




91




[




6B




107




k




7B




123




{






C




12




 




1C




28







2C




44




,




3C




60







4C




76




L




5C




92




\




6C




108




l




7C




124




|






D




13




..




1D




29



 

2D




45




-




3D




61




=




4D




77




M




5D




93




]




6D




109




m




7D




125




}






E




14





 




1E




30







2E




46




.




3E




62







4E




78




N




5E




94




^




6E




110




n




7E




126




~






F




15



 

1F




31




­




2F




47




/




3F




63




?




4F




79




O




5F




95




_




6F




111




o




7F




127










M 發表在 痞客邦 留言(0) 人氣()

'連線錯誤訊息
[Login Failed.  Check for valid user ID, server name and password  Native Error code: 4002]
解決方式:

M 發表在 痞客邦 留言(0) 人氣()





SQL-Server




Access






Case When Sex='1' Then 'G'


Else 'M' End




IIF(Sex='1','G','M')






Where DataDate = '2011/09/30'




Where DataDate = #2011/09/30#






Where Mane Like 'ABC%'




Where Mane Like 'ABC*'





M 發表在 痞客邦 留言(0) 人氣()

------------------------------[VBA程式碼]---------------------------------
Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long

M 發表在 痞客邦 留言(0) 人氣()

'找尋目前檔案路徑
Dim FullPath As Object

M 發表在 痞客邦 留言(0) 人氣()

'使用VBA建立一文字檔
Private Sub CommandButton2_Click()

M 發表在 痞客邦 留言(0) 人氣()


 
<script src="https://gist.github.com/michaelctwk/a80b3983812b77ea23e7.js"></script>
 

M 發表在 痞客邦 留言(0) 人氣()

1 2 3
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。