gpt4 book ai didi

excel - Excel QueryTable 行号从 1 开始

转载 作者:行者123 更新时间:2023-12-02 22:14:13 26 4
gpt4 key购买 nike

有什么方法可以调整 QueryTables 行号的起始编号吗?我已设置 QueryTable.RowNumbers = True,但这从 0 开始计数。我想从 1 开始。

最佳答案

RowNumbers 设置为 True 不会立即导致行号出现。行号会在下次刷新查询表时出现,并且每次刷新查询表时都会重新配置。

TextFileStartRow 属性返回或设置将文本文件导入查询表时开始文本解析的行号。

(来源:微软的MSDN)

关于excel - Excel QueryTable 行号从 1 开始,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9481006/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com