Home Depot named Richard McPhail, its chief financial officer, as the new CEO effective next week. McPhail replaces Ted Decker, who has stepped down after returning from temporary medical leave that began in August. Decker remains chair of the board.

Ann-Marie Campbell, senior executive vice president of U.S. stores and operations, becomes president and chief operating officer. Jordan Broggi was chosen as the new CFO.

McPhail, who has been with Home Depot since 2005, told CNBC that the company will not change course. He said Home Depot will continue targeting professional shoppers like contractors and using AI tools to drive sales. McPhail noted the company faces more challenges now than at the start of the year but is still gaining market share in home improvement.

Home Depot posted stronger than expected fiscal third-quarter results. Comparable sales rose 2.2%, beating analyst estimates of 1.8%. Net income reached $3.7 billion, or $3.72 per share, up from $3.62 per share a year earlier. Adjusted earnings per share were $3.86. Revenue rose 4.9% year over year.

Online comparable sales grew around 13%, marking the sixth consecutive quarter of double-digit growth in that metric.

For the full year, Home Depot expects total sales to rise roughly 4.5% and comparable sales to grow around 1.4%.