éçºè ã®ç®çã¯ãçæéã§å¹ççãã¤å®¹æã«èªã¿è¾¼ã¿ããã³ç¶æãå¯è½ãªã³ã¼ããè¨è¿°ãããã¨ã§ããã¾ããã³ã¼ããåå©ç¨å¯è½ã§ãããã¨ãéè¦ã§ãããã®ããã«ã¯ãMicrosoft® Visual Basic® for Applications (VBA) ã使ç¨ããä¸ã§ã®å®ç¨çãªç¥èãã¤ã¾ãè¨èªã®ç¹å¾´ãããã³å®éã«å®è¡å¯è½ãªä½æ¥å 容ãææ¡ããå¿ è¦ãããã¾ãã ã½ãªã¥ã¼ã·ã§ã³ãéçºããéç¨ã§ã¯ããã¡ã¤ã« ãã¹ã®è§£æããã¡ã¤ã«ããã£ã¬ã¯ããªã«æ»ãä½æ¥ã®ããã«ãç¹°ãè¿ãå®è¡ããæä½ãå¤ãããã¾ãããããã®ã«ã¼ãã³ãä½åº¦ãè¨è¿°ãã代ããã«ãå ±éã®ä½æ¥ãå®è¡ããæé ãæå®ã®å ´æã«ä¿ç®¡ãããã¨ãã§ãã¾ãããã®ç« ã§ã¯ãæååãæ°å¤ãæ¥ä»ã¨æå»ããã¡ã¤ã«ãããã³é åã«å¯¾ãã¦é »ç¹ã«è¡ãããæä½ãå®è¡ããé¢æ°ãç´¹ä»ãã¾ããã¾ããåããã·ã¼ã¸ã£ã®æ¦è¦ãããã³ VBA ããã°ã©ãã³ã°ã®åºæ¬çãªåé¡ç¹ã«ã¤ãã¦ã®è§£èª¬ãåç §ã
ã¯ããã« WEB+DB PRESS Vol.49ã®ç¹é1ãï½ã·ã¹ãã éçºãæåããããç¹°ãè¿ãã®æé¤ãååï½ç¾å ´ã§å½¹ç«ã¤ DRYã®åºç¤ç¥èã第4ç« ã§ããâ å®è·µDRYï¼ãExcelã«ããç¥èã®éç´ãã¨é¡ãã¦VBAã使ã£ãExcelã®æ´»ç¨ã«ã¤ãã¦è§£èª¬ãã¦ãã¾ããæ¬ç¨¿ã§ã¯ãããã§æ²è¼ããå 容ãããã«æ´»ç¨ãã¦ããã ããããExcelæ´»ç¨ã®ããã®VBAã®åºç¤ç¥èã«ã¤ãã¦è§£èª¬ãã¾ãã æä½æ¹æ³ãç»é¢ãã£ããã£ãªã©ã¯Excel 2007ãå©ç¨ãã¾ãããåã¨ã¤ã«ã«ãæ´»ç¨ããã°ãExcel 2003ãªã©ã§ãåæ§ãªãã¨ãã§ãã¾ãã®ã§ããèªèº«ã®ãªãã£ã¹ç°å¢ã«åããã¦é©å®èªã¿æãã¦ãã ããã ç°¡åã§DRYãªVBAå ¥é WEB+DB PRESS Vol.49ã®DRYç¹éã§ã¯ãVBAã使ã£ã¦Excelä»æ§æ¸ãæä½ããã°DRYååãå®ãããã¨ãã趣æ¨ã®è§£èª¬ããã¾ãããããã¯ãæ¬èªã®èªè ã®å¤§åã¯ããâ Excelâ¦â¦ã±ãã
ã¯ããã«ãVisual Basicãç¬èªã®ã¯ã©ã¹ãä½æãã¦ä½¿ããããã«ãOfficeã«æè¼ããã¦ããVBAã§ãç¬èªã®ã¯ã©ã¹ãããã¸ã§ã¯ãã«çµã¿è¾¼ããã¨ãã§ãã¾ããä½æããã¯ã©ã¹ã¯ãåOfficeã¢ããªã±ã¼ã·ã§ã³ã§ãã¤ã³ãã¼ãããã¨ã¯ã¹ãã¼ãããã§ãããããæ±ç¨æ§ã®ããã¯ã©ã¹ã1ã¤ä½æããã°ä»ã®ã¢ããªã±ã¼ã·ã§ã³ã®VBAã§ãå©ç¨ã§ããããã«ãªãã¾ãããããã§ãæ¬ç¨¿ã§ã¯Excel 2003ã§å©ç¨ã§ããã¯ã©ã¹ãä½æããªãããVBAã§ã¯ã©ã¹ãä½ãæ¹æ³ãç´¹ä»ãã¾ãã対象èªè ãExcel VBAã使ã£ã¦ãã¯ãï¼ããã°ã©ã ï¼ãä½ã£ããã¨ã®ãã人ãVisual Basicã使ãã人ã対象ã§ããå¿ è¦ãªç°å¢ãExcel 2000ã2002ã2003ã使ç¨ã§ããç°å¢ãã¯ã©ã¹ã¯ä¾¿å©ãVBAã§ã¯ã©ã¹ãä½æããã¡ãªããã¯ãè¤éãªå¦çã1ã¤ã®ãªãã¸ã§ã¯ãã«ã¾ã¨ããããããã£ãã¡ã½ãããéãã¦ãã®æ©è½ãå¼ã³åºããããã©ã¡ã¼
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}