{"id":861,"date":"2013-05-04T19:14:01","date_gmt":"2013-05-04T11:14:01","guid":{"rendered":"http:\/\/www.shizhiyou.com\/blog\/?p=861"},"modified":"2013-05-04T19:14:01","modified_gmt":"2013-05-04T11:14:01","slug":"vc-%e6%93%8d%e4%bd%9c-excel-%e8%ae%a9%e5%8d%95%e5%85%83%e6%a0%bc%e6%96%87%e5%ad%97%e5%b1%85%e4%b8%ad%e6%98%be%e7%a4%ba","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/861","title":{"rendered":"vc++ \u64cd\u4f5c excel \u8ba9\u5355\u5143\u683c\u6587\u5b57\u5c45\u4e2d\u663e\u793a"},"content":{"rendered":"
vc++ \u64cd\u4f5c excel \u8ba9\u5355\u5143\u683c\u6587\u5b57\u5c45\u4e2d\u663e\u793a<\/p>\n
\u5148\u76f4\u63a5\u4e0a\u4ee3\u7801\u5427\uff1a<\/p>\n
range=sheet.GetRange(COleVariant(“B2”),COleVariant(“D2”));
\nrange.Merge(COleVariant((long)0)); \/\/\u5408\u5e76\u5355\u5143\u683c
\nrange.SetValue2( COleVariant(“\u6b63\u786e\u9009\u9879”) );\/\/\u5199\u5185\u5bb9
\nrange.SetHorizontalAlignment(COleVariant((long)-4108));<\/p><\/blockquote>\n\u6700\u5934\u75bc\u7684\u662f\uff0c\u76f4\u63a5\u8f93\u5165range.\u7adf\u7136\u6ca1\u6709\u63d0\u793a\u8fd9\u4e2a\u51fd\u6570\u7684\u5b58\u5728\uff0c\u5176\u4ed6\u7684\u662f\u6709\u7684\u2026\u2026\u8fd8\u5f97\u9760\u7f51\u4e0a\u641c\u7d22\u624d\u77e5\u9053\u7684\u3002\u89e3\u51b3\u4e00\u4e2a\u95ee\u9898\u4e0d\u5bb9\u6613\u554a\uff0c\u5509<\/p>\n","protected":false},"excerpt":{"rendered":"
vc++ \u64cd\u4f5c excel \u8ba9\u5355\u5143\u683c\u6587\u5b57\u5c45\u4e2d\u663e\u793a \u5148\u76f4\u63a5\u4e0a\u4ee3\u7801\u5427\uff1a range=sheet.GetRange(COleVariant(“B2”),COleVariant(“D2”)); range.Merge(COleVariant((long)0)); \/\/\u5408\u5e76\u5355\u5143\u683c range.SetValue2( COleVariant(“\u6b63\u786e\u9009\u9879”) );\/\/\u5199\u5185\u5bb9 range.SetHorizontalAlignment(COleVariant((long)-4108)); \u6700\u5934\u75bc\u7684\u662f\uff0c\u76f4\u63a5\u8f93\u5165range.\u7adf\u7136\u6ca1\u6709\u63d0\u793a\u8fd9\u4e2a\u51fd\u6570\u7684<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,9],"tags":[145,144],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/861"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=861"}],"version-history":[{"count":2,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/861\/revisions"}],"predecessor-version":[{"id":863,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/861\/revisions\/863"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=861"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}