+ Reply to Thread
Results 1 to 5 of 5

cutting and pasting row in other sheet if cell is empty

  1. #1
    Registered User
    Join Date
    04-10-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    76

    cutting and pasting row in other sheet if cell is empty

    Hi guys,

    I'm trying to copy a row to a other sheet when the cell is empty. I've created the code below but it doesn't work and also doesn't give me an error.

    Please Login or Register  to view this content.
    Does someone has an idea or an another approach to get result???

    Thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: cutting and pasting row in other sheet if cell is empty

    activecell.value="", you are comparing the cell object to be ""
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    04-10-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    76

    Re: cutting and pasting row in other sheet if cell is empty

    Quote Originally Posted by nathansav View Post
    activecell.value="", you are comparing the cell object to be ""
    Thanks for your respons. Is it possible to place an example of how it should be?

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: cutting and pasting row in other sheet if cell is empty

    Please Login or Register  to view this content.
    .
    Could be done in a different way, but need to see a sample.

  5. #5
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: cutting and pasting row in other sheet if cell is empty

    If cell.value="" then

+ 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. VBA for cutting and pasting a row based on one cell
    By JM88 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-13-2014, 11:38 PM
  2. [SOLVED] Pasting data to the next empty cell on new sheet
    By XHR15 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-01-2012, 11:33 AM
  3. Cutting row and pasting into new sheet based on criteria
    By goose1000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-18-2011, 11:54 PM
  4. Cutting/Pasting Data From One Sheet To Another
    By MCatz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-19-2010, 12:23 PM
  5. [SOLVED] cutting and pasting rows from one sheet to another generates error
    By JT Spitz in forum Excel General
    Replies: 7
    Last Post: 02-14-2006, 03:10 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