码迷,mamicode.com
首页 >  
搜索关键字:cells    ( 1822个结果
C# 随笔
1.Range.End属性1 //示例2 mysheet.Cells[5, 5].Value = mysheet.Range["G65536"].End[Excel.XlDirection.xlUp].Row;2. 字典相关1 //定义2 Dictionary Blocksheet = new Di...
分类:Windows程序   时间:2015-06-02 19:59:57    阅读次数:184
表格的便捷操作
表格的便捷操作:tBodies, tHead, tFoot, rows, cells; 1 2 3 4 5 6 12 13 14 15 16 ID17 Name18 ag...
分类:其他好文   时间:2015-06-02 19:31:40    阅读次数:82
EXCEL VBA中写了个宏把本EXCEL中的表数据批量导出为csv格式的文件
Sub csv() Dim Fs, myFile As Object Dim myfileline As String 'txtfile的行数据 Dim sht As Worksheet For Each sht In ThisWorkbook.Sheets ns = sht.Cells(1, 8....
分类:编程语言   时间:2015-05-31 10:46:35    阅读次数:277
swust oj--Coin-collecting by robot
题目链接: http://acm.swust.edu.cn/problem/1132/Time limit(ms): 1000 Memory limit(kb): 65535Several coins are placed in cells of an n×m board. A rob...
分类:其他好文   时间:2015-05-30 22:36:10    阅读次数:501
vba获取最后一行一列,复制粘贴特定一列的值
SubCheckNum() iCount=0 iRow=ActiveSheet.Range("s65535").End(xlUp).Row‘取最后一行 iCol=ActiveSheet.Range("dz2").End(xlToLeft).Column‘取最后一列 MsgBox"iRow为:"&iRow MsgBox"iCol为:"&iCol Form=0ToiRow Forj=0ToiCol‘列循环 IfActiveSheet.Cells(m,j)="..
分类:编程语言   时间:2015-05-29 18:33:22    阅读次数:655
PB excel 设定某些单元格框格为实线,但发现range()中值获取不到
我用datastore将数据写入了excel, 公式如下: ole_xls.ActiveSheet.Cells[1,2].value=‘xxxxx’但发现设实线的函数为: ole_xls.ActiveSheet.range(beginRowcol+”:”+EndRowCol) 这个range中的beginRowcol格式应为:A2 , 我只知道Cells[1,2] 有没有方法得到Cells...
分类:其他好文   时间:2015-05-28 23:16:12    阅读次数:268
【Sudoku Solver】cpp
题目:Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be...
分类:其他好文   时间:2015-05-28 23:04:05    阅读次数:153
Aspose.Cells 读取Excel数据到DataTable
C#代码:Workbook workbook = new Workbook();workbook.Open(excelfile); Cells cells = workbook.Worksheets[0].Cells;DataTable dt = cells.ExportDataTable(1, 0...
分类:Web程序   时间:2015-05-27 15:23:46    阅读次数:141
数独问题
问题:Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will b...
分类:其他好文   时间:2015-05-24 08:51:53    阅读次数:128
leetcode212:Word Search II
问题描述点此链接 Given a 2D board and a list of words from the dictionary, find all words in the board.Each word must be constructed from letters of sequentially adjacent cell, where “adjacent” cells are tho...
分类:其他好文   时间:2015-05-22 09:47:17    阅读次数:108
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!