+ Reply to Thread
Results 1 to 4 of 4

Setting One Cell Equal to Another

  1. #1
    Registered User
    Join Date
    09-05-2011
    Location
    St. John's, Canada
    MS-Off Ver
    Excel 2010
    Posts
    70

    Setting One Cell Equal to Another

    Hey Everyone this is my seconds post, I'm rather new to VB. I've currently set up a work book macro that copy's information from one work sheet and pastes it in several other worksheets. It works fine but because I'm using copy and paste the screen flickers between every worksheet. So I'm trying to set the value from one cell equal to the value of onther. As a test I thought it would simply be

    Please Login or Register  to view this content.
    But when I run the above macro nothing happens. So I guess what im asking is whats the most efficient way to copy data from one sheet to the next?

    Thanks
    Last edited by ashleys.nl; 09-13-2011 at 12:15 PM.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Setting One Cell Equal to Another

    That is fine. That line sets the value of B1 on sheet2 to the value of A1 on sheet1.

  3. #3
    Registered User
    Join Date
    09-05-2011
    Location
    St. John's, Canada
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Setting One Cell Equal to Another

    You are correct, I was accidently setting the value of a blank cell to a blank cell. Thanks for your help

  4. #4
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Setting One Cell Equal to Another

    You could of course use a formula.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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