+ Reply to Thread
Results 1 to 3 of 3

Error 32809 with ActiveSheet.Paste in Excel 1997

  1. #1
    Forum Contributor
    Join Date
    08-08-2005
    Location
    Kansas, USA
    MS-Off Ver
    2016
    Posts
    293

    Error 32809 with ActiveSheet.Paste in Excel 1997

    I have a spreadsheet with several macros I wrote in Excel 2003, and use several times per day. I recently tried to use the spreadsheet in Excel 1997, and one of the macros fails, although I cannot tell why. Maybe one of you gurus can help me?

    I am simply copying a row, moving up one row, and pasting it. My code is as follows:

    Please Login or Register  to view this content.
    I went so far as to record a macro of the above steps in Excel 1997, and the recorder reproduces the code exactly. When I execute the recorded code, I get the same error as with my original macro:

    Run-time error '32809'
    Application-defined or object-defined error

    When I debug, the ActiveSheet.Paste line is highlighted.

    Any suggestions?

    ---GJCase

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Error 32809 with ActiveSheet.Paste in Excel 1997

    Whats' lastrow? If it's a named range then it should be
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    08-08-2005
    Location
    Kansas, USA
    MS-Off Ver
    2016
    Posts
    293

    Re: Error 32809 with ActiveSheet.Paste in Excel 1997

    "lastrow" is a range, first several columns of a row. However, substituting Range("lastrow") Reference:="lastrow" gives me exactly the same error.

    ---GJCase

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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