Range lowercase

Discussion in 'Word VBA Beginners' started by RuGio, Jul 30, 2010.

  1. RuGio

    RuGio Guest

    Hi,
    im writing a macro by Microsoft Visual Basic.I wanna declare a
    variable (classrng) as a range, but when i write
    "Dim classrng As Range" the software corrects me with
    "Dim classrng As range" with range without capital letter.
    Why?
    How can I avoid this?
    thanks
     
    RuGio, Jul 30, 2010
    #1
    1. Advertisements

  2. I cannot replicate that issue in the Word Visual Basic Editor.

    In what application are you doing it?

    --
    Hope this helps,

    Doug Robbins - Word MVP
    dkr[atsymbol]mvps[dot]org

    "RuGio" <> wrote in message
    news:...
    > Hi,
    > im writing a macro by Microsoft Visual Basic.I wanna declare a
    > variable (classrng) as a range, but when i write
    > "Dim classrng As Range" the software corrects me with
    > "Dim classrng As range" with range without capital letter.
    > Why?
    > How can I avoid this?
    > thanks
     
    Doug Robbins - Word MVP, Jul 31, 2010
    #2
    1. Advertisements

  3. RuGio

    RuGio Guest

    Microsoft Word 2003



    On 31 Lug, 02:17, "Doug Robbins - Word MVP" <>
    wrote:
    > I cannot replicate that issue in the Word Visual Basic Editor.
    >
    > In what application are you doing it?
    >
    > --
    > Hope this helps,
    >
    > Doug Robbins - Word MVP
    > dkr[atsymbol]mvps[dot]org
    >
    > "RuGio" <> wrote in message
    >
    > news:...
    >
    >
    >
    > > Hi,
    > > im writing a macro by Microsoft Visual Basic.I wanna declare a
    > > variable (classrng) as a range, but when i write
    > > "Dim classrng As Range" the software corrects me with
    > > "Dim classrng As range" with range without capital letter.
    > > Why?
    > > How can I avoid this?
    > > thanks
     
    RuGio, Jul 31, 2010
    #3
  4. Cannot replicate the issue in that version of Word either.

    --
    Hope this helps,

    Doug Robbins - Word MVP
    dkr[atsymbol]mvps[dot]org

    "RuGio" <> wrote in message
    news:...
    > Microsoft Word 2003
    >
    >
    >
    > On 31 Lug, 02:17, "Doug Robbins - Word MVP" <>
    > wrote:
    >> I cannot replicate that issue in the Word Visual Basic Editor.
    >>
    >> In what application are you doing it?
    >>
    >> --
    >> Hope this helps,
    >>
    >> Doug Robbins - Word MVP
    >> dkr[atsymbol]mvps[dot]org
    >>
    >> "RuGio" <> wrote in message
    >>
    >> news:...
    >>
    >>
    >>
    >> > Hi,
    >> > im writing a macro by Microsoft Visual Basic.I wanna declare a
    >> > variable (classrng) as a range, but when i write
    >> > "Dim classrng As Range" the software corrects me with
    >> > "Dim classrng As range" with range without capital letter.
    >> > Why?
    >> > How can I avoid this?
    >> > thanks

    >
     
    Doug Robbins - Word MVP, Aug 3, 2010
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.