Copy & Paste specific cell in VBA if cell contains any number will not copy and paste if blank.
Results 1 to 3 of 3

Thread: Copy & Paste specific cell in VBA if cell contains any number will not copy and paste if blank.
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Jul 2019
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Copy & Paste specific cell in VBA if cell contains any number will not copy and paste if blank.

    Value Copy and paste cells notes
    15 Since this has a number it will copy and paste =IF($H7
    Cell is blank since this is blank it will do nothing
    210
    Since this has a number it will copy and paste
    I have approx. 200 rows in the spreadsheet.

    I'm trying to attach a copy of the file and or picture but I don't have a URL.
    Any help would be really appreciated. I could send an example file if that would help.

  2. #2
    New Member
    Join Date
    Jul 2019
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Copy & Paste specific cell in VBA if cell contains any number will not copy and paste if blank.

    The formula didn't copy over in the notes column.

    =IF($H7< j$5,$i7,0)
    Last edited by Fluff; Jul 20th, 2019 at 07:30 AM. Reason: corrected formula

  3. #3
    Board Regular DanteAmor's Avatar
    Join Date
    Dec 2018
    Location
    México
    Posts
    5,706
    Post Thanks / Like
    Mentioned
    65 Post(s)
    Tagged
    14 Thread(s)

    Default Re: Copy & Paste specific cell in VBA if cell contains any number will not copy and paste if blank.

    If we use the < o > signs, you must put a space before and after each sign, otherwise the forum editor considers it a code and then deletes the row.

    You could upload a copy of your file to a free site such www.dropbox.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. If the workbook contains confidential information, you could replace it with generic data.

    ​To give examples, check the following:
    https://www.mrexcel.com/forum/board-...forum-use.html
    Regards Dante Amor

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •