Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor viper007bond

    (@viper007bond)

    Here on these forums you need to wrap your code in backticks to prevent it from being stripped.

    Thread Starter excel iran

    (@excel-iran)

    thanks Alex, but i didn’t understand you
    what’s backticks?how can I put it in my text body?

    Plugin Contributor viper007bond

    (@viper007bond)

    I can’t see your original question. ??

    Hi
    I need use vb code in my posts. but when I use ” in code, plugin convert it to “
    what should I do?
    thanks

    Here’s how to fix that:

    View post on imgur.com

    Thread Starter excel iran

    (@excel-iran)

    thank you dear Alex but it doesn’t solve my problem.
    let me show you an example:

    this is my code that should be show in my page

    Sub Macro1()
    Set ws = Worksheets("DataBase")
    Data = ws.Range("H2:J2").Value
    'LRow = ws.ListObjects("DB").Range.Rows.Count + 1
    ws.Range("A" & LRow) = Data(1, 1)
    ws.Range("C" & LRow) = Data(1, 2)
    ws.Range("F" & LRow) = Data(1, 3)
    End Sub

    but I see this

    Sub Macro1()
    Set ws = Worksheets(& quot;DataBase& quot;)
    Data = ws.Range(& quot;H2:J2& quot;).Value
    'LRow = ws.ListObjects(& quot;DB& quot;).Range.Rows.Count + 1
    ws.Range(& quot;A& quot; & amp;amp; LRow) = Data(1, 1)
    ws.Range(& quot;C& quot; & amp;amp; LRow) = Data(1, 2)
    ws.Range(& quot;F& quot; & amp;amp; LRow) = Data(1, 3)
    End Sub

    there must be a way to solve it without change in code

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘" instead of "’ is closed to new replies.