ä»åã¯ãå¯è¦ã»ã«ã®ã¿ãåå¾ããSpecialCells(xlCellTypeVisible)ã¡ã½ãã使ç¨æã®ãã°ã¨ããã¯ã®åé¿æ¹æ³ã«ã¤ãã¦èãã¦ã¿ããã¨æãã¾ãã VBAçã§ã¯æåï¼ãªã®ãã©ããåããã¾ããããé表示ã®è¡ã¾ãã¯åãã·ã¼ãå ã«1以ä¸ããç¶æ ã§ãåä¸ã»ã«å¯¾ãã¦SpecialCells(xlCellTypeVisible)ã¡ã½ããã使ç¨ããã¨è¬ã®ãã°ãçºçããããã§ãã ä¸ã®ã³ã¼ãã§è©¦ãã¦ã¿ããã¨æãã¾ããï¼åç´ã«ãé¸æãã¦ããå¯è¦ã»ã«ã«çµµæåãå ¥åããã ãã®ãã®ã§ãï¼ Sub test() Dim myRange As Range For Each myRange In Selection.SpecialCells(xlCellTypeVisible) myRange.Value = "(ï¼ _ï¼ ;)" DoEvents Next myRange End Sub ãã®ã³ã¼ããä¸ã®
{{#tags}}- {{label}}
{{/tags}}