ããã¯ããç»é²ããã¦ããExcelããèµ·åä¸ã« ãVBScriptã§æ¸ãããããããã¡ã¤ã«ããå®è¡ãããã¨ã§ã ãã®ããã¯ããç»é²ããã¦ããExcelãã®ãã¯ããå®è¡ããããã°ã©ã ãèãã¦ãã¾ãã GetObjectãç¨ãã¦ãGetObject(,"Excel.Application")ã ã®ããã«ãã¡ã¤ã«ãæå®ããªãæ¹æ³ã§ã¯ä¸æãå®ç¾ã§ãã¾ãããã GetObject("D:\Book1.xlsm","Excel.Application") ã®ããã«ã ãã¡ã¤ã«ãæå®ããã¨ããã®å¾ã®Runã®è¡ã§ããªãã¸ã§ã¯ããããã¾ãããã ã¨è¡¨ç¤ºããä¸æãããã¾ããã GetOjbectãç¨ãã¦ããªãã¸ã§ã¯ãçææã«èµ·åãã¦ãããã¡ã¤ã«ãæå®ãã¦å®ç¾ãããã®ã§ãããã©ã®ããã«ãããå®ããã§ããããããåæ·»ãé ãã¾ãã¨å¹¸ãã§ãã ï¼è¡ããããã¨ï¼ æé ï¼ï¼æ¬¡ã®ãã¯ããæ¨æºã¢ã¸ã¥ã¼ã«(Module1)ã«ç»
{{#tags}}- {{label}}
{{/tags}}