+ Reply to Thread
Results 1 to 4 of 4

Cut/Paste Macro suddenly not working

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    102

    Cut/Paste Macro suddenly not working

    Hi,
    My cut/paste macro is suddenly not working. It is coming up with error 1004. Would somebody please post a better coded macro for this?

    Here is my current macro:

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    12-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    102

    Re: Cut/Paste Macro suddenly not working

    It is displaying a message "To prevent possible loss of data, Micrsoft Excel cannot shift nonblank cells off the worksheet." This message hasn't appeared before when running the macro.

  3. #3
    Forum Contributor
    Join Date
    12-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    102

    Re: Cut/Paste Macro suddenly not working

    Is it possible to add error handling so that if Volume is already in column C to ignore the command?

  4. #4
    Forum Contributor
    Join Date
    12-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    102

    Re: Cut/Paste Macro suddenly not working

    I solved the problem. Exel likes to assume that any cell that has any formatting is occupied. So to insert more columns do the following:
    1. Select all of the empty columns to the right of your last used column.
    2. Click Edit/Clear/All

    That should clear up space to insert columns. I recorded a macro to do this for me. I set the active cell back to A after this so the next macro would run properly.
    Please Login or Register  to view this content.
    And here is a article on the topic
    http://www.computeractive.co.uk/ca/p...icrosoft-excel

+ 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