color change
using System; using System.Runtime.InteropServices; using Excel = Microsoft.Office.Interop.Excel; namespace ExcelRedToBlack { class Program { static void Main(string[] args) { Console.WriteLine("Enter full path to the Excel file:"); string filePath = Console.ReadLine(); if (string.IsNullOrWhiteSpace(filePath)) { Console.WriteLine("Invalid file path."); return; } Excel.Application excelApp = null; Excel.Workbook workbook = null; try ...