21. 資料庫
– Connection
• Dim DB as new adodb.connection
• DB.open gConnectionString
• Table: Recordset
• Dim xRecord as new adodb.recordset
• xRecord.open “select * from bom”,db,adopenstatic
25. Tips & Tricks
• Design the model
• Work out the middle layer of the model,
i.e. various working worksheet
• Conclude with a summary/report
• Find the range address
• Find the value of a particular cell
• Write formula in a particular cell in VBA
• Define the interval of the model