Change the HTML Link Target Type

The following code illustrates the usage of HtmlSaveOptions.setLinkTargetType() property. It changes the link target type to blank. By default, it is the parent. You can get the source excel file from this link however you can use any excel file which contains an HTML hyperlink inside it to run this code.