(Reuters) - U.S. industrial conglomerate Honeywell International Inc HON.N said on Friday that it expected to bring back at least $7 billion of the $10 billion in cash held overseas in the next two years, taking advantage of the newly enacted tax law.

FILE PHOTO - A view of the corporate sign outside the Honeywell International Automation and Control Solutions manufacturing plant in Golden Valley, Minnesota, U.S. on January 28, 2010. REUTERS/Eric Miller/File Photo

Shares of Honeywell, which makes everything from jet engines to thermostats, rose as much as 1.2 percent in morning trading to hit a record of $163.85.

The cash hoard will help fuel Honeywell’s M&A strategy under new Chief Executive Darius Adamczyk, who is looking to bolster its core operations such as aerospace following the spin off its home and transportation businesses later this year.

“Our preference is for attractive bolt-on acquisitions,” said Chief Financial Officer Tom Szlosek, who also promised “competitive” dividend and share buybacks using the repatriated cash.

Although the company reported a huge loss due to a $3.8 billion tax provision in the fourth quarter, its adjusted profit narrowly beat analysts’ estimates due to strength across all of its divisions.

Honeywell also raised its 2018 earnings forecast and said it was seeing a greater level of confidence from its customers, who may now have more cash on hand to spend due to the new tax law.

“Their capex is our revenue, and we do expect some level of investment to accelerate (later in 2018),” Adamczyk said on a conference call.

Sales in its aerospace unit, its biggest business that makes aircraft engines for Bombardier Inc BBDb.TO, Textron Inc TXT.N and General Dynamics Corp GD.N, rose 6.4 percent to $3.90 billion in the quarter ended Dec. 31.

Much of the growth in the business was driven by its commercial aviation aftermarket division as a rise in travel demand boosted sales of spare parts and services to the airline industry.

Honeywell is also benefiting from increased demand from oil and gas customers in the wake of stabilizing oil prices, while its business that makes supply chain and warehouse automation equipment and software is riding an ecommerce boom.

Excluding the tax-related charge, Honeywell earned $1.85 per share, compared with analysts’ expectations of $1.84, according to Thomson Reuters I/B/E/S.

Revenue rose 8.6 percent to $10.84 billion, topping estimates of $10.75 billion.

The company raised its 2018 per-share earnings forecast range to $7.75 to $8.00 from $7.55 to $7.80 estimated previously.

It is conservatively using the higher end of the 22-23 percent tax rate for the updated forecast, suggesting healthy upside, RBC Capital Markets analyst Deane Dray said.

Up to Thursday's close, Honeywell's stock had risen 37.3 percent in the past 12 months, far outperforming a 23.5 percent increase in the S&P 500 index .SPX.