+ Reply to Thread
Results 1 to 7 of 7

(2016 issue) Button to add a line from one sheet to a different sheet.

  1. #1
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    (2016 issue) Button to add a line from one sheet to a different sheet.

    Hi all,

    I am having a hard time debugging this because it runs fine on my computer, using Excel 2013.

    It currently doesn't run on two of my co-workers computers who are running Excel 2016.

    It did work previously, then a couple of weeks ago it just stopped working.

    Please Login or Register  to view this content.
    The usual error is:

    Run-time error '-21474`7848 (80010108)':
    Method 'Select' of object '_Worksheet' failed


    I appreciate the help!
    Last edited by justforthis1; 03-15-2016 at 10:32 AM. Reason: Adding more info to the title

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Button to add a line from one sheet to a different sheet.

    Can you attach a desensitized version of the workbook with the code. I tried to just copy and paste your code and change my sheet names, but, it didn't work.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    Re: Button to add a line from one sheet to a different sheet.

    I converted all the data to be generic.

    See attached.

    Thanks!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    Re: Button to add a line from one sheet to a different sheet.

    I tried commenting out the "If ActiveSheet.Name = "Parts Catalog" Then" and its "End If" statement and it changed the error to:

    run-time error '-2147417848 (80010108): automation error the object invoked has disconnected from its clients

    I have been reading through the Google search results and I am really not sure why that would be happening with this code...

  5. #5
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    Re: Button to add a line from one sheet to a different sheet.

    Any suggestions?

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Button to add a line from one sheet to a different sheet.

    Well, I downloaded you workbook and ran it, but I couldn't duplicate the problem...most likely because I'm not running 2016. Sorry I wasn't able to help.

  7. #7
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    Re: Button to add a line from one sheet to a different sheet.

    Quote Originally Posted by gmr4evr1 View Post
    Well, I downloaded you workbook and ran it, but I couldn't duplicate the problem...most likely because I'm not running 2016. Sorry I wasn't able to help.
    I appreciate you looking at it. Maybe I should adjust the title to really highlight the 2016 part of it.


    Anyone else have any ideas?

+ 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. Replies: 0
    Last Post: 09-16-2015, 01:18 PM
  2. Copy the data from 1 sheet in vertical line to another sheet in horizontal line
    By Shermaine2010 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2014, 03:46 AM
  3. [SOLVED] VBA - Macro issue copy/paste line other sheet + duplicate current sheet
    By vcourbiere in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-17-2014, 12:06 PM
  4. Replies: 5
    Last Post: 12-12-2013, 02:53 PM
  5. Replies: 0
    Last Post: 03-13-2013, 03:14 PM
  6. Macro to Pull Info from Product Line Sheet to Purchase Order Sheet
    By JeffreyJr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2012, 11:16 AM
  7. vba button to create line graph in a new sheet
    By zigzag in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-16-2011, 11:10 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