Results 1 to 10 of 570

Thread: Tests Copying, Pasting, API Cliipboard issues. and Rough notes on Advanced API stuff

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    10,457
    Rep Power
    10
    Follow on from last 2 posts





    Explanation attempt
    Column A of worksheet abc is compared with column A of worksheet def, looking for matches in data. If data in Column A of worksheet def is also found in column A of worksheet abc, then that matched data in column A of worksheet def is deleted
    _____ Workbook: VBA worked excample.xls ( Using Excel 2007 32 bit )
    Row\Col
    A
    B
    1
    1234
    2
    5678
    3
    91011
    4
    12131415
    5
    1617181920
    6
    Worksheet: abc
    _____ Workbook: VBA worked excample.xls ( Using Excel 2007 32 bit )
    Row\Col
    A
    1
    1234
    2
    15678
    3
    191011
    4
    112131415
    5
    16171811920
    Worksheet: def
    Column A of worksheet abc is compared with column A of worksheet def, looking for matches in data. If data in Column A of worksheet def is also found in column A of worksheet abc, then that matched data in column A of worksheet def is deleted
    _____ Workbook: VBA worked excample.xls ( Using Excel 2007 32 bit )
    1234
    15678
    191011
    112131415
    16171811920
    Worksheet: def (modified)


    The remain data in worksheet def is now compared with column A of worksheet Fake Data.
    _____ Workbook: VBA worked excample.xls ( Using Excel 2007 32 bit )
    Row\Col
    A
    B
    1
    115678
    2
    191011
    3
    1112131415
    4
    1.16172E+11
    5
    Worksheet: Fake Data
    If data in Column A of worksheet Fake Data is also found in column A of the modified worksheet def, then that matched data in column A of worksheet Fake Data is deleted
    _____ Workbook: VBA worked excample.xls ( Using Excel 2007 32 bit )
    115678
    191011
    1112131415
    1.16172E+11
    Worksheet: Fake Data (modified)

    The remaining data in column A of modified worksheet Fake Data is now compared with column A of worksheet Completed
    _____ Workbook: VBA worked excample.xls ( Using Excel 2007 32 bit )
    Row\Col
    A
    B
    1
    115678
    2
    Worksheet: Completed
    If there is a match in data in columns A of worksheet Completed, and column A of worksheet Fake Data, then delete that matched data from worksheet Fake Data
    _____ Workbook: VBA worked excample.xls ( Using Excel 2007 32 bit )
    115678
    191011
    1112131415
    1.16172E+11
    Worksheet: Fake Data (modified)

    If there is now any remaining data in column A of modified Fake Data, then that data is added to column A of missing data , ( in the given example, VBA Before.xls , A1 in missing data sheet already had data
    _____ Workbook: VBA worked excample.xls ( Using Excel 2007 32 bit )
    Row\Col
    A
    1
    11111158
    2
    Worksheet: Missing data
    so we put the result below that:
    _____ Workbook: VBA worked excample.xls ( Using Excel 2007 32 bit )
    Row\Col
    A
    B
    1
    11111158
    2
    1112131415
    3
    1.16172E+11
    4
    Worksheet: Missing data (final)
    Attached Files Attached Files

Similar Threads

  1. Some Date Notes and Tests
    By DocAElstein in forum Test Area
    Replies: 5
    Last Post: 03-26-2025, 02:56 AM
  2. Replies: 116
    Last Post: 02-23-2025, 12:13 AM
  3. Replies: 21
    Last Post: 12-15-2024, 07:13 PM
  4. Replies: 42
    Last Post: 05-29-2023, 01:19 PM
  5. Replies: 11
    Last Post: 10-13-2013, 10:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •