Results 1 to 5 of 5

Code for moving rows of data automatically from one worksheet to another not working

Threaded View

Kashyap_17 Code for moving rows of data... 10-23-2014, 06:16 AM
Vikas_Gautam Re: Code for moving rows of... 10-23-2014, 08:06 AM
Kashyap_17 Re: Code for moving rows of... 10-24-2014, 12:44 AM
Vikas_Gautam Re: Code for moving rows of... 10-24-2014, 04:07 AM
Kashyap_17 Re: Code for moving rows of... 10-27-2014, 08:17 AM
  1. #1
    Registered User
    Join Date
    10-21-2014
    Location
    Bangalore, India
    MS-Off Ver
    Professional Plus 2010
    Posts
    3

    Question Code for moving rows of data automatically from one worksheet to another not working

    I'm using the following code for moving row from sheet named Backlog to sheet named Billing, when the column J value becomes BILLED for a row. But it does not work if the range is converted to table (the row moves beyond the table rather than becoming a part of it):

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Column = 10 Then
    If UCase(Target.Value) = "BILLED" Then
    Target.EntireRow.Copy Destination:=Sheets("Billing"). _
    Range("A" & Rows.Count).End(xlUp).Offset(1)
    Target.EntireRow.Delete
    End If
    End If
    End Sub
    Help will be much appreciated
    Last edited by Fotis1991; 10-23-2014 at 06:23 AM. Reason: Pls use code tags around your codes as per forum rules.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Moving rows of data automatically
    By jamesplant1977 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2013, 11:32 AM
  2. Automatically moving rows to another worksheet which contain certain data
    By whiterosejo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2012, 08:29 PM
  3. Replies: 0
    Last Post: 09-29-2011, 01:56 PM
  4. Assistance required for Automatically moving data to another worksheet
    By j.vaughan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2008, 07:40 AM
  5. Moving data automatically from one worksheet to another
    By ltlbt in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 06-24-2008, 11:19 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