+ Reply to Thread
Results 1 to 3 of 3

Update cell value from anohter worksheet

  1. #1
    mardo@jippii.fi
    Guest

    Update cell value from anohter worksheet

    Hello,

    I have two different ranges in worksheet3 which you can select with
    option button.
    By selecting option button 1 it shows values of range1 in worksheet1,
    and by selecting option button 2 it shows values of range2 in
    worksheet1. Values are shown in same range in worksheet1, and
    everything goes ok this far.

    The promblem is that values won't update to worksheet1 without
    selecting first another option button.

    ie. if option button 1 is selected it shows values in worksheets1&3,
    but after changing some of the values in range1 I have to select option
    button 2 and again option button 1 to update the values in worksheet1.

    I've tried some if-thens but just can't get it to work, any ideas...?

    Regars, Mardo


  2. #2
    Tom Ogilvy
    Guest

    RE: Update cell value from anohter worksheet

    If your code does a copy and paste, try doing a pastespecial and select paste
    link. Then you will have formulas in the cells that update.

    --
    Regards,
    Tom Ogilvy


    "mardo@jippii.fi" wrote:

    > Hello,
    >
    > I have two different ranges in worksheet3 which you can select with
    > option button.
    > By selecting option button 1 it shows values of range1 in worksheet1,
    > and by selecting option button 2 it shows values of range2 in
    > worksheet1. Values are shown in same range in worksheet1, and
    > everything goes ok this far.
    >
    > The promblem is that values won't update to worksheet1 without
    > selecting first another option button.
    >
    > ie. if option button 1 is selected it shows values in worksheets1&3,
    > but after changing some of the values in range1 I have to select option
    > button 2 and again option button 1 to update the values in worksheet1.
    >
    > I've tried some if-thens but just can't get it to work, any ideas...?
    >
    > Regars, Mardo
    >
    >


  3. #3
    mardo@jippii.fi
    Guest

    Re: Update cell value from anohter worksheet

    Thanks Tom but my code doesn't copy and paste

    I just get the value like this:
    Worksheets(1).Range("Range1").Value =
    Worksheets(3).Range("Range").Value


    Mardo


+ 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