Hi Guys!
How can I amend below so that if table (row 1, cell 1) is empty then look into table (row 2, cell 1) and copy value instead. Basically look into these 2 and see which one has a value and paste into excel.
Many thanks,
How can I amend below so that if table (row 1, cell 1) is empty then look into table (row 2, cell 1) and copy value instead. Basically look into these 2 and see which one has a value and paste into excel.
PHP:
ActiveDocument.Tables(1).Cell(1, 1).Range.Copy
ActiveSheet.Paste Destination:=Worksheets("Sheet1").Range("E13")
Many thanks,
Last edited: