+ Reply to Thread
Results 1 to 2 of 2

If Cell = "Yes" Paste entire column as values

  1. #1
    Registered User
    Join Date
    12-18-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    1

    If Cell = "Yes" Paste entire column as values

    Hi Guys,

    Trying to write something that will paste an entire column as values if the value in row 5 equals Yes.

    This is what I'm running with but so far no luck I've got it to copy and paste the entire column regardless of what value is in F5 and I've also got it to simply copy the active cell.

    Please Login or Register  to view this content.
    If possible I'd like to be able to loop it through F5 to AU5

    Thanks for the help
    Last edited by mindgutter; 01-13-2013 at 09:28 PM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: If Cell = "Yes" Paste entire column as values

    hi mindgutter, welcome to the forum. if you are putting VBA codes, please use this
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    12-18-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: If Cell = "Yes" Paste entire column as values

    Thanks updated my original post to etiquette of forum

    Please Login or Register  to view this content.
    If I leave in
    Please Login or Register  to view this content.
    It simply ignores the second part and does not paste the values I checked this in the console it was jumping from
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    and back again.


    If i remove
    Please Login or Register  to view this content.
    then it will cycle through each column and paste as values.

  4. #4
    Registered User
    Join Date
    12-18-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: If Cell = "Yes" Paste entire column as values

    I changed the "Yes" to "1" and changed all my Yes values to 1 on the spreadsheet and it works.

+ 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