Excelã§ã¯ãã»ã«ãæå®ããæ¹æ³ã«ãA1æ¹å¼ã¨R1C1æ¹å¼ã¨ããï¼ç¨®é¡ããã¾ãã A1æ¹å¼ã¯ããªãã¿ã§ãRange("A1")ã¨ããããã«ä½¿ããA1ã»ã«ãç´æ¥æå®ãã¾ãã ããã«å¯¾ãR1C1æ¹å¼ã¯ãèªåã®ã»ã«ããã®ç¸å¯¾ä½ç½®ããROWæ¹åã«ããã¤COLæ¹åã«ããã¤ã§è¡¨ãã ã¨ããæå®ã®ä»æ¹ããã¾ãã Range("A2").FormulaR1C1 = "=R[-1]C[0]" Range("B2").Formula = "=B1" Range("C2").Value = "=C1" ãããããèªåèªèº«ã®ã»ã«ã®ï¼ã¤ä¸ã®ã»ã«ã®å¤ãåç §ããå¼ã§ãã å¤ã®è¨å®æã§ã¯ãFormulaR1C1æ¹å¼ã«ã¯R1C1æ¹å¼ã§ãªããã°ãªããªã以å¤ã¯ã ãããã®æ¹å¼ã使ã£ã¦ãèªåçã«å¤å¥ãã¦ãããããã§ãã Sub Macro2() Range("A4").Value = "a" Range("B4").Value
{{#tags}}- {{label}}
{{/tags}}