Results 1 to 7 of 7

VBA Program works some times and some times gives me a Run-time error '1004'?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-02-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2016
    Posts
    190

    VBA Program works some times and some times gives me a Run-time error '1004'?

    I have a simple excel spread sheet that uses VBA to add and delete a list of products. Some times it works without an error and some times it crashes with error 1004.
    It says Method 'Range' of object_'Worksheet' failed. The problem occurs when I try to call my User Form, which is invoked by a button on my workbook LagTime
    Sub EditProduct()
        
        frmEditProduct.Show False
        
    End Sub
    Any suggestions on what I have done wrong? Thanks, redsab
    Attached Files Attached Files
    Last edited by redsab; 07-13-2014 at 10:53 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Creating a graph with start times and end times vs time
    By khoadphamm in forum Excel General
    Replies: 14
    Last Post: 12-31-2019, 02:57 PM
  2. Replies: 8
    Last Post: 02-19-2014, 09:55 AM
  3. If a search term can be found 1 time, 2 times 3 times 4 times 5 times
    By excelcandy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2013, 09:57 PM
  4. vba program - before and after times
    By quaye28 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-13-2011, 09:02 PM
  5. Macro works in one workbook and not another - Run-Time Error 1004
    By vrobinson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2010, 07:30 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