惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Security Affairs
WordPress大学
WordPress大学
MongoDB | Blog
MongoDB | Blog
A
About on SuperTechFans
F
Fortinet All Blogs
Hacker News: Ask HN
Hacker News: Ask HN
酷 壳 – CoolShell
酷 壳 – CoolShell
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - Franky
Hacker News - Newest:
Hacker News - Newest: "LLM"
Security Archives - TechRepublic
Security Archives - TechRepublic
T
Tenable Blog
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
NISL@THU
NISL@THU
SecWiki News
SecWiki News
Cyberwarzone
Cyberwarzone
Stack Overflow Blog
Stack Overflow Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
V2EX - 技术
V2EX - 技术
Simon Willison's Weblog
Simon Willison's Weblog
云风的 BLOG
云风的 BLOG
Microsoft Azure Blog
Microsoft Azure Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
Docker
C
Check Point Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
S
Schneier on Security
博客园 - 【当耐特】
雷峰网
雷峰网
月光博客
月光博客
H
Help Net Security
人人都是产品经理
人人都是产品经理
博客园 - 三生石上(FineUI控件)
Google Online Security Blog
Google Online Security Blog
L
LINUX DO - 最新话题
Microsoft Security Blog
Microsoft Security Blog
Know Your Adversary
Know Your Adversary
The GitHub Blog
The GitHub Blog
H
Hacker News: Front Page
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Cisco Talos Blog
Cisco Talos Blog
G
Google Developers Blog
V
Vulnerabilities – Threatpost
TaoSecurity Blog
TaoSecurity Blog
T
Troy Hunt's Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Blog of Author Tim Ferriss

博客园 - Blueeyes

挺有意思的小工具。。。 JS调用c#编写的DLL 笔记本CPU大全 搜集整理的一些SQL语句 .NET程序脱离.NET框架的方法 ASP.NET3.5的ListView与CSS Friendly ASP.NET页面中标题单点解决方案 微软一个罕为人知的无敌命令ntsd 微软一个罕为人知的无敌命令ntsd 全国主要城市的DNS服务器列表 静态构造器四个准则 .NET 中的对象序列化 .NET 中的数字格式化,日期格式化 别有用心的SQL 向水晶报表传递参数 在GridView的中有一个DropDownList,并且DropDownList有回传事件 纯CSS文字阴影效果实现 写了一个查看SQL表结构的小工具 gridview的简单示例 (个人收藏)
Excel轻松合并
Blueeyes · 2007-02-06 · via 博客园 - Blueeyes
Excel轻松合并

Private Sub CommandButton1_Click()
  '统计要合并的工作表的数量(循环次数)
  For i = 2 To Sheets.Count
  Worksheets(i).Select
  '选择各工作表中的数据区域并复制
  irow = Worksheets(i).[B65536].End(xlUp).Row
  ActiveSheet.Range('A2:AA' && irow).Select
  Selection.Copy
  '粘贴到第一张工作表中
  Worksheets(1).Select
  mrow = [a65536].End(xlUp).Row + 1
  Range('A' && mrow).Select
  ActiveSheet.Paste
  Next i
  
  [a1].Select
  CommandButton1.Enabled = False
  countall = '一共合并了' + Str([a65536].End(xlUp).Row - 1) + '记录,数据表合并成功!'
MsgBox countall, vbOKOnly, '提示信息'
  End Sub
  程序中“ActiveSheet.Range('A2:AA' && irow).Select”的功能用于选择每张工作表除了第一行以外的数据区域(第一张工作表除外)。
  小提示:在进行本操作之前,首先要保证每张工作表的字段顺序是一致的,且每张成绩中第一行是表格的标题行。

posted on 2007-02-06 12:54  Blueeyes  阅读(808)  评论()    收藏  举报