+ Reply to Thread
Results 1 to 4 of 4

Intelligent Macros (exclude values etc)

  1. #1
    Registered User
    Join Date
    08-20-2014
    Location
    Ravenna, Italy
    MS-Off Ver
    2010
    Posts
    51

    Exclamation Intelligent Macros (exclude values etc)

    Hi Everyone,

    i attach two xls:

    - PERSONNEL LIST_EXAMPLE: files with macros activated.
    - PERSONNEL LIST_MANUAL OUTPUT: output sheets filled manually to make understandable my needs.

    The xls contains 3 sheets:

    - source
    - disembarks
    - embarks

    At the moment i have created two macros that copy, paste, sort and format in the two different ouput sheets (disembarks and embarks)

    I have several problems:

    Macros:

    - disembark: shouldn't paste entries:
    1) without disembark date;
    2) with disembark date filled with text;
    3) with disembark date before today (blue cell on top of sheet)

    - embark: shouldn't paste entries:
    1) with disembark date filled (both text or date);
    2) with embark date before today (blue cell on top of sheet)

    I think this could be challenging for all of you and i hope someone can help me.
    Thank anyway to all of u

    Marco
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-08-2015
    Location
    North Carolina USA
    MS-Off Ver
    MS Office 2016
    Posts
    368

    Re: Intelligent Macros (exclude values etc)

    Just make the source data a table and filter it accordingly for each - then copy only the visible data in the table.. all of this can be done by recording the actions and then cleaning up the recorded macro

  3. #3
    Registered User
    Join Date
    08-20-2014
    Location
    Ravenna, Italy
    MS-Off Ver
    2010
    Posts
    51

    Re: Intelligent Macros (exclude values etc)

    Thanks for the reply BG1983.

    I know that is the best and quicker solution but my boss disagree with me

    Hoping that someone can help me thank you

  4. #4
    Registered User
    Join Date
    08-20-2014
    Location
    Ravenna, Italy
    MS-Off Ver
    2010
    Posts
    51

    Re: Intelligent Macros (exclude values etc)

    no one?

+ 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. [SOLVED] Exclude macros from triggering msgbox
    By Jamesera27 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-04-2015, 11:43 PM
  2. Macro to exclude a few values
    By Ivan S in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-08-2013, 03:23 AM
  3. Exclude values and delete remaining values
    By BJ5352 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2011, 02:36 AM
  4. Excel 2007 : MIN, AVE, MAX values but exclude blanks
    By Quagga in forum Excel General
    Replies: 7
    Last Post: 07-15-2010, 02:29 PM
  5. Exclude zero values from chart
    By tek9step in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 06-17-2009, 08:44 AM
  6. exclude several values with one condition
    By Brigitte_P in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-31-2007, 12:58 PM
  7. Replies: 2
    Last Post: 09-24-2005, 08:05 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