摘要: --Remove all data from a databaseSET NOCOUNT ON--Tables to ignoreDECLARE @IgnoreTables TABLE (TableName varchar(512))INSERT INTO @IgnoreTables (TableName) VALUES ('sysdiagrams')DECLARE @AllRelationships TABLE (ForeignKey varchar(512) ,TableName varchar(512) ... 阅读全文
posted @ 2012-01-17 10:04 国产水货 阅读(123) 评论(0) 推荐(0)
摘要: 单元格设置1.设置单元格线框Excel.ActiveSheet.Range[B10:C13].Borders[N].LineStyle := xlNoneExcel.ActiveSheet.Range[B10:C13].Borders[N].Weight := xlThin边框的类型 Borders[N]xlEdgeLeft 左=1xlEdgeRight 右=2xlEdgeTop 顶=3xlEdgeBottom 底=4xlDiagonalUp 左上右下=5xlDiagonalDown 左下右上=6xlEdgeLeft 外部左边框=7xlEdgeTop 外部上边框=8xlEdgeBottom 外 阅读全文
posted @ 2011-11-11 14:16 国产水货 阅读(228) 评论(0) 推荐(0)