Consulting

Results 1 to 2 of 2

Thread: delete entire row

  1. #1

    delete entire row

    vba is placed in a sepearte file macro.xlsm
    and there are two more files 1.xlsx & 2.xlsx
    all files are located in different path
    i am looking to slve this problem by vba macro
    if column A of 1.xlsx matches with column A of of 2.xlsx then calculate the data in that row and if the number is positive then delete all the numbers from that entire row (numbers is starting from column B) & if it is negative then do nothing
    example in current case acc matches dlf matches and tata matches
    acc is negative (40-50=-10) then do nothing
    dlf is positive (10+200=210) then delete the numbers which is starting from column B i.e 10 & 200
    and so on
    only macro.xlsm is open so we have to open that file
    Attached Images Attached Images
    • File Type: png 1.PNG (3.9 KB, 25 views)
    • File Type: png 2.PNG (5.5 KB, 25 views)

  2. #2
    Problem Solved

Tags for this Thread

Posting Permissions

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