Excel VBA 没有为“variable1 = SourceSheet.Cells(variable2,variable3).Value”赋值

问题描述 投票:0回答:1

这很奇怪。我有以下未分配值的 VBA Excel 语句。

keyValueF = SourceSheet.Cells(dictRow, "F").Value

监视列表 SourceSheet.Cells(dictRow, "F").Value 为“Interior: CFL Pin-Based (Downlight) [1L - 10W - RS/PRS N]”,但语句执行后,keyValueF 仍为 and没有生成任何错误。

我已尝试将 keyValueF 作为 Variant 和 String。

有人对这个问题有什么想法吗?

谢谢!

excel vba
1个回答
0
投票

没关系。我重新启动计算机,它开始工作。

© www.soinside.com 2019 - 2024. All rights reserved.