+ Reply to Thread
Results 1 to 3 of 3

bug in vba - move data from sheet1 to sheet 2

  1. #1
    Forum Contributor
    Join Date
    01-18-2016
    Location
    OBX NC
    MS-Off Ver
    Office 2013
    Posts
    153

    bug in vba - move data from sheet1 to sheet 2

    I am attempting to move data from sheet1 to sheet2 based on date. While it appears to be working, I get correct lines of out put, the rows are all scambled. Its ike they are randomly placed.

    Here is code I am using:

    Please Login or Register  to view this content.
    I have attached sheet with data from sheet 1, and example of sheet 2 and a CORRECTED sheet 2 of whats its supposed to look like, I also included a test page showing what my current results show.

    Any assistance would be a big help. More importantly tell me what the heck did I miss and why random rows.
    Attached Files Attached Files
    Last edited by jackf-nc; 08-07-2016 at 03:53 PM. Reason: Didnt know how to post code....Thx Mod for pointing it out!

  2. #2
    Valued Forum Contributor
    Join Date
    12-22-2015
    Location
    HK
    MS-Off Ver
    2010
    Posts
    532

    Re: bug in vba - move data from sheet1 to sheet 2

    Try this:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-19-2012
    Location
    Omaha, Nebraska USA
    MS-Off Ver
    Excel 2010
    Posts
    249

    Re: bug in vba - move data from sheet1 to sheet 2

    This post had already been answered by the time I posted mine.
    Last edited by djbomaha; 08-07-2016 at 11:25 PM.

+ 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. move data from one sheet1 to sheet 2 based on date
    By jackf-nc in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-09-2016, 01:46 PM
  2. move information in different tables in sheet1 to a calculation in sheet 2
    By Kim-Aleksander in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-11-2015, 05:03 AM
  3. move data from sheet1 to sheet2 based on date in column1 of sheet1
    By pcaldwell in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-10-2014, 03:20 PM
  4. Copy certain data from Sheet1 to Sheet 2 based on values in a column on Sheet1
    By theglitch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2013, 01:28 PM
  5. [SOLVED] Entering data in sheet1, having the data in sheet 2 returned to sheet1
    By Speedyjrr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2012, 01:10 PM
  6. Move/copy data from sheet1 to list in sheet2?!
    By pallar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-24-2010, 02:49 PM
  7. Macro to move data from sheet1 to sheet2 when clicked
    By excel77 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2009, 01:18 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