Results 1 to 5 of 5
  1. #1
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 1 Time in 1 Post
    When copying this line of code:
    [attachment=83543:copyright.gif]

    into a code box I am presented with this:
    Cells(r, c + 2) = Trim(arrVals©)

    Any ideas?
    Attached Images Attached Images
    Regards
    Don

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    It's not just in Firefox - IE8 behaves the same way.

    You could use [code]...[/code] tags instead.

    Or add a space between the parentheses and the letter c:

    Cells(r, c + 2) = Trim(arrVals( c ))

  3. #3
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 1 Time in 1 Post
    [quote name='HansV' post='773183' date='30-Apr-2009 17:47']It's not just in Firefox - IE8 behaves the same way.

    You could use [code]...[/code] tags instead.

    Or add a space between the parentheses and the letter c:

    Cells(r, c + 2) = Trim(arrVals( c ))[/quote]

    Thank you Hans.
    Regards
    Don

  4. #4
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts
    [quote name='wdwells' post='773186' date='30-Apr-2009 15:50'][/quote]
    Or you could the LNC coding convention of prefixing Dim names that indicate the Type of variable, such as lngC, which has more advantages than not being turned into another symbol.
    -John ... I float in liquid gardens
    UTC -7±DS

  5. #5
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='JohnBF' post='773326' date='01-May-2009 15:24']Or you could the LNC coding convention[/quote]
    Good link, thanks.
    I read up about CamelCase and filled in an interesting 60 minutes devising the attached.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •