+ Reply to Thread
Results 1 to 9 of 9

VBA solution to manual data entry task

  1. #1
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    VBA solution to manual data entry task

    Hi guys,

    I have a workbook (SCDHD Report 2019) that needs updating daily from 2 other workbooks (titled OPENED and CLOSED), all 3 files stored on my desktop. I've been tinkering for days trying to get this to work but I can't do it with my limited knowledge and google. I've outlined the individual steps that need to occur below; can anyone help? I can attach the workbooks in necessary?


    Open workbook "OPENED"
    Filter workbook "OPENED" column C by "cancelled" and delete all rows
    Unfilter column C on "OPENED" workbook
    Paste count of records to next empty cell on row 23 of "weekly" worksheet in "SCDHD Report 2019" workbook
    Filter out "Phone" from column P on "OPENED" workbook and paste count of records to next empty cell on row 27 of "weekly" worksheet on "SCDHD Report 2019"
    Filter workbook "OPENED" column P by "Webchat" and paste count of records to next empty cell on row 31 of "Weekly" worksheet in "SCDHD REPORT 2019" workbook
    Close workbook "OPENED"

    Open workbook "CLOSED"
    Count of records from "CLOSED" workbook pasted to next empty cell on row 24 of "Weekly" worksheet in "SCDHD REPORT 2019" workbook
    Filter out "Phone" from column P on "CLOSED" workbook and paste count of records to next empty cell on row 28 of "weekly" worksheet on "SCDHD Report 2019"
    Unfilter column P on "CLOSED" workbook
    Filter column T on "CLOSED" workbook for dates within 2 days of date in column U and paste count of records to next empty cell on row 29 of "weekly" worksheet on "SCDHD Report 2019"
    Close workbook "CLOSED"
    Attached Files Attached Files
    Last edited by fabrecass; 09-10-2019 at 10:27 AM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: VBA solution to manual data entry task

    Lot easier with the actual workbooks.
    torachan.

  3. #3
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: VBA solution to manual data entry task

    This is frustrating, every time I click the paperclip to add the workbooks I just get a thin white bar appear and nothing else, tried in IE,edge chrome and firefox and get the same thing. Am I being a moron?

    EDIT: i'm being a moron, workbooks attached to original post.
    Last edited by fabrecass; 09-10-2019 at 10:27 AM.

  4. #4
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: VBA solution to manual data entry task

    bump, no one?

  5. #5
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: VBA solution to manual data entry task

    Try this code on workbook 'SCDHD Report 2019'.
    Please not that workbooks OPENED.xlsx and CLOSED.xlsx has to in the same location with workbook 'SCDHD Report 2019' and them has to be closed before running code.

    Please Login or Register  to view this content.
    Last edited by huuthang_bd; 09-11-2019 at 07:01 AM.

  6. #6
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: VBA solution to manual data entry task

    Thank you so much for this, it's done a lot of what I wanted it to do there's just a few problems I've noticed

    I've attached a worksheet with the correct figures vs the figures I get when I run the macro, also some (probably wrong) ideas as to why the counts are wrong

    any ideas?
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: VBA solution to manual data entry task

    I don't see any records which has 'cancelled' on column C.
    For clarification, with each information you want to get, please add a column and mark records match with the criteria. After that, show me that workbook.

  8. #8
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: VBA solution to manual data entry task

    Hi,

    sorry for taking so long to get back to you. I've added instructions to the SCDHD Report 2019 workbook to state exactly what I'm looking for, hopefully this clarifies any miscommunications.

    Hope you can help!
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: VBA solution to manual data entry task

    bump - anyone?

+ 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. Replies: 1
    Last Post: 10-11-2017, 01:25 PM
  2. Manual data entry in dynamical table
    By gutkinma in forum Excel General
    Replies: 2
    Last Post: 12-08-2014, 09:00 AM
  3. VLOOKUP and manual data entry
    By Miss.Rubixcube in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 12-14-2012, 04:39 PM
  4. Foward all manual data entry in one worksheet to another
    By amq in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2012, 07:48 AM
  5. Is 'ranking by' a VBA solution or a manual solution?
    By mtw2018 in forum Excel General
    Replies: 2
    Last Post: 04-10-2012, 01:47 PM
  6. Prevent Manual Data Entry
    By BRAY1980 in forum Excel General
    Replies: 1
    Last Post: 10-26-2011, 05:42 AM
  7. Replies: 0
    Last Post: 10-06-2011, 07:03 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