Enable the Developer tab, record a formatting macro, and clean the generated code in the VBE.
“Recording & Editing Your First VBA Macro” Advanced Excel — Professional Data Analysis का हिस्सा है। मुफ़्त प्रीव्यू पाठ सभी के लिए खुले हैं; बाकी पाठ एनरोल किए गए शिक्षार्थियों के लिए हैं।