Consulting

Results 1 to 7 of 7

Thread: VBA - Merging and Bordering of cells if condition met....

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned VBAX Contributor
    Joined
    Aug 2017
    Posts
    144
    Location

    VBA - Merging and Bordering of cells if condition met....

    HTML Code:
    Hi Team,
    I need your help, Task is to read the cell values from Column C of input file on by one till LastRow.
    	if range("c3") = "ABC" and range("c4") = "XYZ" then	insert a blank line below c4.and Range("C3:C4")  needs a Border as shown in Output sheet.
    and in Column A3 mention Situation 1. merge cell ("A3:A4") Increase Situation 1,2,3 and so on...
    Usually at last we will not come across abc and xyz simultaneously. then remaining data should bebordered like a box.
    I am attaching input data file , I want the result in input sheet only, not in a output sheet.
    Thanks for your help.
    Regards,MG.
    Attached Files Attached Files

Posting Permissions

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