2015年9月29日 星期二

[VBA] determine password protected workbook / worksheet

determine password protected workbook / worksheet

http://www.thespreadsheetguru.com/the-code-vault/2014/12/17/determine-if-workbook-or-worksheet-is-password-protected-with-excel-vba

2015年9月28日 星期一

VBA 特別字附處理

VBA 特別字附處理
 
VBA Character Codes and Character Constants         
Code                   Character         
Chr(9)                 Tab         
Chr(10)                Line-feed        
Chr(11)                Soft return (Shift+Enter)        
Chr(12)                Page break        
Chr(13)                Carriage return        
Chr(13) + Chr(10)      Carriage return/line-feed combination        
Chr(14)                Column break        
Chr(34)                Double straight quotation marks ('')        
Chr(39)                Single straight quote mark/apostrophe (')        
Chr(145)               Opening single smart quotation mark (')        
Chr(146)               Closing single smart quotation mark/ apostrophe (')        
Chr(147)               Opening double smart quotation mark (")        
Chr(148)               Closing double smart quotation mark (")        
Chr(149)               Bullet        
Chr(150)               En dash        
Chr(151)               Em dash 
 
 
more:
http://www.asciitable.com/ 
 
reference:
http://www.java2s.com/Code/VBA-Excel-Access-Word/Data-Type-Functions/UsingtheChrFunctionandConstantstoEnterSpecialCharactersinaString.htm 

2015年9月21日 星期一

Pivot table

Referencing Pivot Table Ranges in VBA
http://peltiertech.com/referencing-pivot-table-ranges-in-vba/

Excel Pivot Tables: Filter Data, Items, Values & Dates using VBA
http://www.globaliconnect.com/excel/index.php?option=com_content&view=article&id=150:excel-pivot-tables-filter-data-items-values-a-dates-using-vba&catid=79&Itemid=475

Excel Tutorial - pivot table
https://sites.google.com/site/exceltkk2/tutorial-classification-3#pivottable

2015年9月10日 星期四

AIR WAYBILL 種類

AIRLINE AIR WAYBILL
國際航空運輸業者由其自己所印製或其代理商所簽發之航空公司提單,俗稱主提單(MASTER AIR WAYBILL或 DIRECT AIR WAYBILL)

  • MAWB - a contract of carriage between the airline and the shipper/consignee in the MAWB, usually the airfreight agent
  • DAWB - a contract of carriage between the airline and the shipper/consignee in the MAWB, usually the exporter/importer



HOUSE AIR WAYBILL
航空貨運承攬業印製簽發之分提單,或稱子提單(SUB AIR WAYBILL)

  • HAWB - a contract of carriage between the airfreight agent/forwarder and the shipper/consignee in the HAWB. If any goods are lost or damaged under a HAWB, the issuing party (the freight forwarder) is liable towards the shipper/consignee in the HAWB

  • Freight Prepaid - charges payable at origin (usually by the shipper)
  • Freight Collect - charges payable at destination (usually by the consignee)


參看:
http://www.mantraco.com.tw/tao/2006/awb.htm
http://wenku.baidu.com/view/0f25a18da0116c175f0e48fa.html