+ Reply to Thread
Results 1 to 3 of 3

2007 - How to transfer a value from another worksheet with a condition

  1. #1
    Forum Contributor
    Join Date
    01-06-2011
    Location
    cleveland
    MS-Off Ver
    Excel 2007
    Posts
    225

    2007 - How to transfer a value from another worksheet with a condition

    Please Login or Register  to view this content.
    i know the problem is that the code fails when trying to 'look' into worksheet 'Batters!'

    if i change the line from

    .Formula = "=IF($AB2=1,Batters!KS2,"")"

    to

    .Formula = "=1+1"

    the expression works properly.

    essentially what i am trying to do is transfer the value of worksheet 'batters ks2' to worksheet 'hitterscalc d2' if the value in cell 'hitterscalc ab2' = 1, and do this for all the rows that have value
    Last edited by kamelkid2; 02-08-2013 at 12:19 PM.

  2. #2
    Forum Contributor
    Join Date
    01-06-2011
    Location
    cleveland
    MS-Off Ver
    Excel 2007
    Posts
    225

    Re: 2007 - How to transfer a value from another worksheet with a condition

    solved myself - i needed 4 quotations in the expression

  3. #3
    Registered User
    Join Date
    10-04-2012
    Location
    US
    MS-Off Ver
    Word, Excel, Access all 2007 & 2010. Outlook 2010
    Posts
    56

    Lightbulb Re: 2007 - How to transfer a value from another worksheet with a condition

    Which is more important; the VBA to do it or the result in column D?

+ 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