+ Reply to Thread
Results 1 to 9 of 9

Moving on row to the next sheet when a field is filled with c

  1. #1
    Registered User
    Join Date
    08-14-2014
    Location
    USA,MN
    MS-Off Ver
    2013
    Posts
    5

    Moving on row to the next sheet when a field is filled with c

    So i have been working on this and i am so close. I need to make it so when you enter c in column J it will delete that row and move it to sheet 2 to the next available row.
    At this point i have it deleting the row and moving it over but it keeps using the same row and over writing the the lines already there.
    Here is what i have gotten so far.

    Please Login or Register  to view this content.
    Thanks
    Last edited by Spoonfighter; 08-15-2014 at 02:29 PM.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Moving on row to the next sheet when a field is filled with c

    Your post does not comply with rule #3.

    3. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the [#] button at the top of the post window (if you are editing an existing post, press Go Advanced to see the [#] button). The result will appear like this in the post window:

    [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code]

    ... and appear like this when posted:



    Please Login or Register  to view this content.
    To edit please click the 'Edit Post' button below.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Registered User
    Join Date
    08-14-2014
    Location
    USA,MN
    MS-Off Ver
    2013
    Posts
    5

    Re: Moving on row to the next sheet when a field is filled with c

    I added your [code] thing. It seems like it removed my code but i did what you asked. Still dose not answer my question. Any help would be great.

  4. #4
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Moving on row to the next sheet when a field is filled with c

    Please Login or Register  to view this content.
    You have this in the worksheet activate event. Do you want this to happen every time a change is made in column J? or only when the worksheet is activated?

  5. #5
    Registered User
    Join Date
    08-14-2014
    Location
    USA,MN
    MS-Off Ver
    2013
    Posts
    5

    Re: Moving on row to the next sheet when a field is filled with c

    i want it to happen every time the vehicle a C is input in to column J. I thought active was the correct sub. Is there a different event i should be using?
    Using your code worked.
    I will have to look mine over and see what all i have incorrect as yours is much shorter and easier.
    My first code but i want to start doing more.

    Thanks Solus
    Last edited by Spoonfighter; 08-15-2014 at 03:42 PM.

  6. #6
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Moving on row to the next sheet when a field is filled with c

    Please Login or Register  to view this content.
    This should it every time you place a c in column J.

  7. #7
    Registered User
    Join Date
    08-14-2014
    Location
    USA,MN
    MS-Off Ver
    2013
    Posts
    5

    Re: Moving on row to the next sheet when a field is filled with c

    Very cool, Thanks Man
    This helps a lot

  8. #8
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Moving on row to the next sheet when a field is filled with c

    Glad to help.

    If you are happy with the solution please mark the thread as [SOLVED] using the thread tools at the top.

    And on any thread you can show your appreciation for anyone who has helped you by clicking the * below their post.

  9. #9
    Registered User
    Join Date
    08-14-2014
    Location
    USA,MN
    MS-Off Ver
    2013
    Posts
    5

    Re: Moving on row to the next sheet when a field is filled with c

    done and done. Thanks again

+ 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. Moving rows to another sheet based on a certain field's value
    By anthonymariani1982 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-22-2016, 05:03 PM
  2. Moving rows to another sheet based on a certain field's value
    By pgreengi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2014, 11:19 AM
  3. Replies: 0
    Last Post: 05-26-2013, 11:33 AM
  4. Moving rows to another sheet based on a certain field's value
    By siourisc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2012, 01:59 PM
  5. [SOLVED] Moving rows to another sheet based on a certain field's value.
    By erod1214 in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 09-12-2012, 03:28 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