+ Reply to Thread
Results 1 to 5 of 5

If ISNUMERIC then copy to another location else do nothing?

  1. #1
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    281

    If ISNUMERIC then copy to another location else do nothing?

    Hello, kind people!

    How to check is cell has number value, if it's empty or text do nothing.

    Please Login or Register  to view this content.
    This code every time shows that D8 is numeric although it's empty or text.
    Why is this happening?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: If ISNUMERIC then copy to another location else do nothing?

    Try this

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    281

    Re: If ISNUMERIC then copy to another location else do nothing?

    Thank you so much!

    Help. So i have D7:H7 let's say "start times" and in D8:H8 "finish times" All on the same sheet(SHEET1). IF ANY OF D8:H8 IS BLANK OR IS NOT NUMBER do not copy to D7:H7, IF d8 is number then copy to d7, if e8 isn't number(or isblank) don+t copy to e7. And so on. I hope anyone is understood me. Row 7 is "start time" and I don't want to have text(or blank) as "start time". Basically, after report on "SHEET1" is printed please dear EXCELFORUM check cells in row 8 and if conditions is true copy each one of D8:H8 to the row 7. Sorry for too long bad English text!

  4. #4
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    281

    Re: If ISNUMERIC then copy to another location else do nothing?

    I somehow solved it.

    Please Login or Register  to view this content.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: If ISNUMERIC then copy to another location else do nothing?

    Based on the code I posted earlier, maybe this:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. isnumeric
    By Rajeee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2018, 07:48 AM
  2. Mac excel 2016, vba copy file from one location to sandbox location
    By sujithy007 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2016, 12:01 PM
  3. Do Until with If IsNumeric
    By doyoc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2015, 06:22 AM
  4. create new folder at one location and copy photos in that folder from other location
    By meer_ali in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2014, 05:20 AM
  5. [SOLVED] How to copy to a new sheet if cell isnumeric=TRUE?
    By GIS2013 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-23-2014, 10:45 AM
  6. [SOLVED] IsNumeric Help
    By Brumbot in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2013, 08:29 AM
  7. help with If Isnumeric
    By justchris in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2005, 12:57 AM

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