ã»ã«åç §ããããããã£ã®ã·ã¼ãæå®ã¯åä¸ã§ãªããã°ãªãã¾ããã Rangeããããã£ã¨Cellsããããã£ãçµã¿åããã¦ãè¡ãåãå¤æ°ã«ãã¦ã»ã«ç¯å²ãæå®ããæ¹æ³ã§ãã Range(Cells(GYO1, COL1), Cells(GYO2, COL2))ã¨ããæ¸ãæ¹ã§ã Cellsããããã£ãæå®ãã¦ããã»ã«ãå·¦ä¸ãå³ä¸ã¨ãã¦ã®ã»ã«ç¯å²ã®Rangeãªãã¸ã§ã¯ããåå¾ã§ãã¾ããã ãã®æã«ã·ã¼ããæ示ãããã¨ããæã®ééãã§ãã Worksheets("Sheet1").Range("A1:D3")ã¨ããæ¸ãæ¹ã¯ããç®ã«ãã¾ãã ããã«ãªãã£ã¦ãRangeããããã£ã¨Cellsããããã£ãçµã¿åããã¦ã»ã«ç¯å²ãæå®ããæã®æ¸ãæ¹ã§ãã Dim GYO1 As Long, GYO2 As Long, COL1 As Long, COL2 As Long GYO1 = 1: COL1 = 1
{{#tags}}- {{label}}
{{/tags}}