This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function MoveTo(psl) | |
MoveTo = "" | |
If InStr(psl, "送信者名1") > 0 Then MoveTo = "親フォルダ/子フォルダ/孫フォルダ" | |
If InStr(psl, "送信者名2") > 0 Then MoveTo = "親フォルダ/子フォルダ/孫フォルダ" | |
End Function | |
Sub toFolder() | |
Set myapp = CreateObject("Outlook.Application") |