+ Reply to Thread
Results 1 to 2 of 2

passing range from RefEdit control

  1. #1
    Greg
    Guest

    passing range from RefEdit control

    Hi,

    I'm getting error in the following code:
    '________________________
    Dim rngX As Range, rngY As Range

    Set rngX = RefEdit_inputx.Value
    Set rngY = RefEdit_inputy.Value
    '_________________________

    What am I doing incorrect?
    Appreciate your help.

    --
    ______
    Regards,
    Greg

  2. #2
    Doug Glancy
    Guest

    Re: passing range from RefEdit control

    Greg,

    Try:

    Set rngX = Range(RefEdit_inputx.Value)

    hth,

    Doug


    "Greg" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > I'm getting error in the following code:
    > '________________________
    > Dim rngX As Range, rngY As Range
    >
    > Set rngX = RefEdit_inputx.Value
    > Set rngY = RefEdit_inputy.Value
    > '_________________________
    >
    > What am I doing incorrect?
    > Appreciate your help.
    >
    > --
    > ______
    > Regards,
    > Greg




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1