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...
                            
                            
                         
                    
                        
                            
                            
                                表格的便捷操作: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
                             
                         
                    
                        
                            
                            
                                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
                             
                         
                    
                        
                            
                            
                                题目链接: 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
                             
                         
                    
                        
                            
                            
                                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
                             
                         
                    
                        
                            
                            
                                我用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
                             
                         
                    
                        
                            
                            
                                题目: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
                             
                         
                    
                        
                            
                            
                                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
                             
                         
                    
                        
                            
                            
                                问题描述点此链接  
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