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

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jamie Carper

    Need to Redefine Range to include Additional Ranges

    Jamie Carper, Jun 30, 2003, in forum: Word VBA Beginners
    Replies:
    0
    Views:
    111
    Jamie Carper
    Jun 30, 2003
  2. Tom Thompson

    range cannot be deleted

    Tom Thompson, Aug 1, 2003, in forum: Word VBA Beginners
    Replies:
    7
    Views:
    407
    Tom Thompson
    Aug 3, 2003
  3. George Seese

    Change Bookmark Range Font

    George Seese, Aug 10, 2003, in forum: Word VBA Beginners
    Replies:
    5
    Views:
    365
    Dave Lett
    Aug 12, 2003
  4. Simon Finn

    Late Binding - range.font

    Simon Finn, Sep 3, 2003, in forum: Word VBA Beginners
    Replies:
    0
    Views:
    85
    Simon Finn
    Sep 3, 2003
  5. Alder

    Centre view on <range>

    Alder, Sep 23, 2003, in forum: Word VBA Beginners
    Replies:
    1
    Views:
    84
    Jonathan West
    Sep 24, 2003
  6. Bill Taylor

    Print a range

    Bill Taylor, Oct 11, 2003, in forum: Word VBA Beginners
    Replies:
    1
    Views:
    68
    Doug Robbins - Word MVP
    Oct 12, 2003
  7. Vinay

    Extension of Range

    Vinay, Dec 19, 2003, in forum: Word VBA Beginners
    Replies:
    1
    Views:
    114
    Dave Lett
    Dec 19, 2003
  8. f.tecnig

    new range bounds form another range

    f.tecnig, Jul 6, 2009, in forum: Word VBA Beginners
    Replies:
    2
    Views:
    238
    f.tecnig
    Jul 7, 2009
Loading...