+ Reply to Thread
Results 1 to 6 of 6

Run Time Error-1004 -No cells were found

  1. #1
    Forum Contributor
    Join Date
    12-01-2020
    Location
    Asia
    MS-Off Ver
    MS Office 2024 Preview
    Posts
    277

    Run Time Error-1004 -No cells were found

    Below is the code that I am testing gives the result as expected displaying first displays this Run Time Error 1004-No cells were found and then either clicking End/Debug,it gives the result.

    This I think happens when I copy paste data from source sheet to the destination sheet where I run this code.Sometimes it gives error & sometimes not.This seems irritating when this error appears.

    Mostly I face the error at >

    Please Login or Register  to view this content.
    and

    Please Login or Register  to view this content.
    The entitre code is

    Please Login or Register  to view this content.
    How to resolve such type of error that it gives me no error -1004 .
    Last edited by Etax; 05-26-2023 at 01:01 AM.

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,645

    Re: Run Time Error-1004 -No cells were found

    Hi there,

    Not fully tested, and not tidied up, but try something like:

    Please Login or Register  to view this content.

    Hope this helps.

    Regards,

    Greg M

  3. #3
    Forum Contributor
    Join Date
    12-01-2020
    Location
    Asia
    MS-Off Ver
    MS Office 2024 Preview
    Posts
    277

    Re: Run Time Error-1004 -No cells were found

    Great! Thanx .This works fine.

    A little help further,if u r willing to support then only proceed further.

    The above code is based when the data is in number or text format.It does not work when this data is arrived through formula. Can you convert this code in such as way that directly I can link the data here and do not have to copy & paste every now & then.

    And a little bit speeding up as it is taking time a little bit long to process.
    Last edited by Etax; 05-26-2023 at 07:06 AM.

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,645

    Re: Run Time Error-1004 -No cells were found

    Hi again,

    I can't really figure out what your code is supposed to be doing.

    Can you post some sample data - preferably the initial data and then the data which your code produces?

    Regards,

    Greg M

  5. #5
    Forum Contributor
    Join Date
    12-01-2020
    Location
    Asia
    MS-Off Ver
    MS Office 2024 Preview
    Posts
    277

    Re: Run Time Error-1004 -No cells were found

    Pls find detailed description at https://www.excelforum.com/excel-pro...ml#post5830616

    Attachment #Post6
    Last edited by Etax; 05-26-2023 at 12:36 PM.

  6. #6
    Forum Contributor
    Join Date
    12-01-2020
    Location
    Asia
    MS-Off Ver
    MS Office 2024 Preview
    Posts
    277

    Re: Run Time Error-1004 -No cells were found

    Hi Greg M,

    I am marking this as solved.If u could solve #Post 5 as per your #Post 4, u can post here.Since this post was about solving error-1004,u have already solved.

+ 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. Run-time error'1004': No cells were found
    By kier0978 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-01-2022, 07:16 AM
  2. [SOLVED] Run-time error 1004 no cells were found
    By maitai858 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2021, 12:17 PM
  3. [SOLVED] Run-time error 1004 no cells were found
    By ~TaC~ in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2019, 03:30 AM
  4. [SOLVED] run time error 1004 no cells were found
    By iwannabakat in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-10-2014, 04:13 PM
  5. [SOLVED] Run Time Error Message 1004 : No Cells were found
    By brajpalshishodia in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-15-2012, 12:52 PM
  6. Run-time error '1004': No cells were found
    By tirk82 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2012, 12:48 PM
  7. Run-time error '1004': No cells were found
    By Jamie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-16-2005, 06:06 PM

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