![](/img/trans.png)
[英]I want to migrate an excel & word document report into a modern web app, but not sure where to start, can you help or point me in the right direction?
[英]How can i choose where cell I want to start filling data in my excel report?
先生,
如何选择要在Excel报表中开始填充数据的单元格?
我有以下代码:
For i = 0 To ds.Tables(0).Rows.Count - 1
For j = 0 To ds.Tables(0).Columns.Count - 1
xlSheet.Cells(i + 1, j + 1) =
ds.Tables(0).Rows(i).Item(j)
Next
Next
End If
有什么建议吗?
如果xlSheet.Cells(i + 1, j + 1) =
A9而不是A1开始,只需将xlSheet.Cells(i + 1, j + 1) =
更改为xlSheet.Cells(i + 9, j + 1) =
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.