Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4846
    chienlun
    Member

    不好意思,我英文不好
    Embarrassed, my English is not good

    想請問你 Select Case 的用法
    Wants to ask your “Select Case” the usage

    我寫的如下,但是一直不能判斷變數
    I write as follows, but cannot judge the variable

    可以麻煩你提供一下範例嗎?!
    May trouble you to provide the model? !

    Thanks!!!

    Select Case j
    Case 1 to 10
    text_4 = “第” & mid(text_1,j,1) & “章”
    document.selection.text = “j < 11"
    Case j < 100 Case Else
    End Select

    #4847
    Yutaka Emura
    Keymaster

    The syntax for VBScript for EmEditor is exactly same as VBScript. I am not very familiar with VBScript, so you might want to refer to VBScript reference books or sites.

    Please use only English in this forum and do not write any other languages except when necessary to use in sample code.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.