
セルの値だけをコピーするマクロです。
例
たとえば、セルB3の値をセルC3にコピーするには次のように記述します。Sub ValueCopy() Range("C3").Value = Range("B3").Value End Sub
実行結果

comments powered by Disqus
スポンサーリンク
2017年6月15日 (木) 21:29 in Excel , VBA
Sub ValueCopy() Range("C3").Value = Range("B3").Value End Sub
スポンサーリンク