VBAã§èªä½ã®é¢æ°ãã»ã«å ã®å¼ããå¼ã³åºãã«ã¯ã Public Functionã¨ãã¦æ¨æºã¢ã¸ã¥ã¼ã«ã«å®ç¾©ãã¦ããã°ããã ï¼Subã¯ÃãPublicãã¤ããªãã¦ãÃãæ¨æºã¢ã¸ã¥ã¼ã«ä»¥å¤ã«å®ç¾©ãã¦ãÃï¼ ãããããããããå¯å¤é·ã®å¼æ°ãã¨ããããªé¢æ°ãå®ç¾©ããã«ã¯ã é åã§å®£è¨ããå¼æ°ã®åã«ãParamArrayããã¤ãã¦å®ç¾©ãã¦ããã°ããã 以ä¸ã®ãµã³ãã«ã¯ãã»ã«ã®å¼ã¨ãã¦åãè¾¼ã¿å¯è½ã§ã è¤æ°ã®å¼æ°ãã¨ããå¼æ°ãCSVå½¢å¼ã«å¤æãã¦è¡¨ç¤ºããã·ã³ãã«ãªé¢æ°ã ã 'VBAã®é¢æ°ãã»ã«ã®å¼ããå¼ã³åºãã«ã¯ããPublic Functionãã¨ãã¦ãæ¨æºã¢ã¸ã¥ã¼ã«ãã«å®ç¾©ããã 'VBAã§ãå¯å¤é·å¼æ°ãã使ãã«ã¯ãé åã§å®£è¨ããå¼æ°ã®åã«ãParamArrayããã¤ããã Public Function csv(ParamArray args() As Variant) Dim argcsv
{{#tags}}- {{label}}
{{/tags}}