+ Reply to Thread
Results 1 to 2 of 2

Error on Inserting the rows using VBA

  1. #1
    Registered User
    Join Date
    09-23-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    56

    Error on Inserting the rows using VBA

    Hello,

    I'm facing a problem in Inserting row using the command:

    Please Login or Register  to view this content.
    Find the below detailed error message:

    Run-time error '1004'

    To prevent possible loss of data, Microsoft Office Excel cannot shift nonblank cells off the worksheet.

    Try to locate the last nonblank cell by pressing CTRL+END, and delete or clear all in cells between the last cell
    and the end of your data.
    Then select cell A1 and save your workbook to reset the last cell used.


    Can you please help me on this.

  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 on Inserting the rows using VBA

    Have you followed the instructions to clear the last cell?
    Hope that helps.

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

    Free DataBaseForm example

+ 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