Only trick is the 'Z'. Because when the number % 26 == 0, means there is a 'Z'. But when you n/=26, there is an extra 1 added to the n. EX:27 % 26 = 1...
分类:
其他好文 时间:
2015-03-19 09:59:13
阅读次数:
110
添加引用:Microsoft.Office.Interop.Excel //创建excel对象,就是实例化一个excel对象 Application excel=new Application(); //设置工作表的个数 excel.SheetsInNewWorkbook=2; //创建Wprkbo...
One day Vasya was sitting on a not so interesting Maths lesson and making an origami from a rectangularamm?×?bmm sheet of paper (a?>?b). Usually the f...
分类:
其他好文 时间:
2015-03-18 14:00:02
阅读次数:
155
----------------戴维营教育整理--------------------索引创建本地修改搜索提交历史分支与标签更新与发布合并与重置撤销创建复制一个已创建的仓库:$ git clone ssh://user@domain.com/repo.git创建一个新的本地仓库:$ git init...
分类:
其他好文 时间:
2015-03-18 12:15:09
阅读次数:
133
Related to question Excel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A...
分类:
其他好文 时间:
2015-03-17 19:55:31
阅读次数:
123
样式的优先级 多重样式(Multiple Styles):如果外部样式、内部样式和内联样式同时应用于同一个元素,就是使多重样式的情况。 一般情况下,优先级如下: (外部样式)External style sheet 测试! 选择器的优先权 解释: 1. 内联样式表的权值最高 1000; 2...
分类:
Web程序 时间:
2015-03-17 10:16:26
阅读次数:
267
来源:HTML Cheat Sheet为了加深记忆,把它翻译成中文放到博客上来:Document Outline/文档大纲(X)HTML的版本HTML文档页面信息页面内容
分类:
Web程序 时间:
2015-03-16 21:11:16
阅读次数:
211
一、选择需要加密的单元格,右键→设置单元格格式→保护→锁定;
二、按Alt+F11键进入VBE环境,在左侧的相应sheet名称上(如sheet1)右键→查看代码;
三、选择Worksheet的SelectionChange事件,写入如下代码:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error Resum...
分类:
其他好文 时间:
2015-03-16 16:29:34
阅读次数:
132
Excel Sheet Column Title问题:Given a positive integer, return its corresponding column title as appear in an Excel sheet.思路: 进制访问问题我的代码:public class So....
分类:
其他好文 时间:
2015-03-14 21:33:49
阅读次数:
116
Given a column title as appear in an Excel sheet, return its corresponding column number.本质上是一个进制转换问题。1 class Solution {2 public:3 int titleToNumb...
分类:
其他好文 时间:
2015-03-13 01:35:04
阅读次数:
105