Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Range("r01").Value = 100 x = 10 Range("r02").Value = x percentage of "r01" // should be 10 in this case
x 是一个动态变化的变量。 如何使用 vba 计算 cell.Value 的 x 百分比?
只是
Range("r01").Value = 100 x = 10 Range("r02").Value = x / 100 * Range("r01").Value