]]>ValSprrhttp://www.tkk7.com/cyhboy/archive/2018/12/27/433564.html钀嶆按鐩擱?/dc:creator>钀嶆按鐩擱?/author>Thu, 27 Dec 2018 02:24:00 GMThttp://www.tkk7.com/cyhboy/archive/2018/12/27/433564.htmlhttp://www.tkk7.com/cyhboy/comments/433564.htmlhttp://www.tkk7.com/cyhboy/archive/2018/12/27/433564.html#Feedback0http://www.tkk7.com/cyhboy/comments/commentRss/433564.htmlhttp://www.tkk7.com/cyhboy/services/trackbacks/433564.html str2 Then
chkResult = chkResult And False
'MsgBox str1
'MsgBox str2
End If
If Abs(mailDate - cmdDate) > 2 Then
'MsgBox "fail2"
chkResult = chkResult And False
End If
'Cells(currentRow, 21) = runAnyTime
If chkResult Then
MyMsgBox "Jira checking completed with positive result.", 3
Else
MyMsgBox "Failed to Jira validation.", 3
End If
End Sub
]]>Rdochttp://www.tkk7.com/cyhboy/archive/2018/12/27/433563.html钀嶆按鐩擱?/dc:creator>钀嶆按鐩擱?/author>Thu, 27 Dec 2018 02:21:00 GMThttp://www.tkk7.com/cyhboy/archive/2018/12/27/433563.htmlhttp://www.tkk7.com/cyhboy/comments/433563.htmlhttp://www.tkk7.com/cyhboy/archive/2018/12/27/433563.html#Feedback0http://www.tkk7.com/cyhboy/comments/commentRss/433563.htmlhttp://www.tkk7.com/cyhboy/services/trackbacks/433563.html 0 Then
filePath = Cells(currentRow, 9) & Cells(currentRow, 11)
Set wa = CreateObject("Word.Application")
wa.Visible = False
Set wd = wa.Documents.Open(filePath)
Cells(currentRow, 10) = wd.Content.text
wd.Close savechanges:=False
wa.Quit
Set wa = Nothing
Else
Dim wildcard As String
wildcard = "*.doc*"
Dim fileText As String
Dim fso As Object
Dim objFolder As Object
Dim myFolder As Object
Dim myFile As Object
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FolderExists(localPath) Then
Set objFolder = fso.getfolder(localPath)
For Each myFolder In objFolder.SubFolders
For Each myFile In myFolder.files
If myFile.Name Like wildcard Or myFile.Name = wildcard Then
'MsgBox myFile.path
Set wa = CreateObject("Word.Application")
wa.Visible = False
Set wd = wa.Documents.Open(myFile.path)
fileText = fileText & wd.Content.text
wd.Close savechanges:=False
wa.Quit
Set wa = Nothing
End If
Next
Next
Set objFolder = Nothing
End If
Set fso = Nothing
Cells(currentRow, 10) = Cells(currentRow, 10) & fileText
End If
ErrorHandler:
If Err.Number <> 0 Then
MyMsgBox Err.Number & " " & Err.Description, 10
End If
End Sub
]]>cheat excel for commahttp://www.tkk7.com/cyhboy/archive/2018/11/27/433522.html钀嶆按鐩擱?/dc:creator>钀嶆按鐩擱?/author>Tue, 27 Nov 2018 06:16:00 GMThttp://www.tkk7.com/cyhboy/archive/2018/11/27/433522.htmlhttp://www.tkk7.com/cyhboy/comments/433522.htmlhttp://www.tkk7.com/cyhboy/archive/2018/11/27/433522.html#Feedback0http://www.tkk7.com/cyhboy/comments/commentRss/433522.htmlhttp://www.tkk7.com/cyhboy/services/trackbacks/433522.htmlHere's a "cheat" for the comma that you want:
When you hard code the data validation list, instead of a comma in your entry (Boston, MA) , use this key combination: Alt+0130
It will display a comma in the data validation list, as you requested, BUT, it isn't a "real" comma, so it will be ignored if you search for the string - Boston, MA - in the other parts of the spreadsheet...Or if you try to use the ouput of the data validation selection to lookup matching values elsewhere in your workbook...
But if you are hard-coding your data validation list, I assume that you aren't planning to use it to reference other places in the workbook, right?
]]>Some useful commandhttp://www.tkk7.com/cyhboy/archive/2018/02/02/433034.html钀嶆按鐩擱?/dc:creator>钀嶆按鐩擱?/author>Fri, 02 Feb 2018 02:32:00 GMThttp://www.tkk7.com/cyhboy/archive/2018/02/02/433034.htmlhttp://www.tkk7.com/cyhboy/comments/433034.htmlhttp://www.tkk7.com/cyhboy/archive/2018/02/02/433034.html#Feedback0http://www.tkk7.com/cyhboy/comments/commentRss/433034.htmlhttp://www.tkk7.com/cyhboy/services/trackbacks/433034.htmlChecking JDK path and version which java (linux) for%i in (java.exe)do@echo.%~$PATH:i (windows) java -version echo %JAVA_HOME%