+ Reply to Thread
Results 1 to 4 of 4

If cell contains a number copy/paste macro

  1. #1
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    If cell contains a number copy/paste macro

    I have the following which checks to see if a number is in column A and if it is copy and paste it. I want to alter it so that if it finds the number in say, A5 it pastes the value in B5. Or if it finds it in A20 then it pastes it in B20. Also, I want it to not only copy and paste if it finds a number on its own within a cell, but also copy and paste for example A12 if A12 is "Text 12 Test" then B12 would be Text 12 Test"
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: If cell contains a number copy/paste macro

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    12-31-2012
    Location
    Jhang, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: If cell contains a number copy/paste macro

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: If cell contains a number copy/paste macro

    Thanks hafir. Works perfectly.

+ 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