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