Dim fileURL As String Dim directory As String fileURL = ConvertFromURL(ThisComponent.getURL()) directory = Left(fileURL, Len(fileURL) - Len(ThisComponent.getTitle())) MsgBox(directory)
人生の最終目標は気ままな老後生活
Dim fileURL As String Dim directory As String fileURL = ConvertFromURL(ThisComponent.getURL()) directory = Left(fileURL, Len(fileURL) - Len(ThisComponent.getTitle())) MsgBox(directory)