Excel(ã¨ã¯ã»ã«)ã®ããã¯(Book)ã«ã¯ã¼ã¯ã·ã¼ãã追å ãããå ´åã¯ã ã¯ã¼ã¯ã·ã¼ã(Sheet)ã¿ãä¸ããå³ã¯ãªãã¯ã¡ãã¥ã¼ã表示ããã¦ã ãæ¿å
¥ããé¸ã³ãã¯ã¼ã¯ã·ã¼ãã追å ããã°è¯ãã®ã§ããã Excel VBAã§ã¯ã¼ã¯ã·ã¼ãã®è¿½å æä½ãè¡ãVBAã®ããã°ã©ã ã ä½ãããå ´åãããããããã¾ãããä»åã¯ãã¨ã¯ã»ã«ã®ããã¯ã« æ°ããã¯ã¼ã¯ã·ã¼ãã追å ãããå ´åãExcel VBAã§ã©ã®ããã« è¨è¿°ããã°ããã®ãæãããã¨æãã¾ãããã®è¨è¿°ã¯ãå²ã¨ç°¡åã§ãã [è¨è¿°ä¾]ãæ°ããã¯ã¼ã¯ã·ã¼ãã追å ããVBAè¨è¿° Sub test() 'ã¢ã¯ãã£ãã·ã¼ãã®å¾ãã«æ°ããã·ã¼ãã追å ãã Worksheets.Add after:=ActiveSheet 'ã¡ãã»ã¼ã¸ã表示 MsgBox "ã¢ã¯ãã£ãã·ã¼ãã®å¾ãã«æ°ããã·ã¼ãã追å ãã¾ããã" End Sub [åä½ã¨ããã°ã©ã ã®èª¬æ] å
{{#tags}}- {{label}}
{{/tags}}