J'ai embedded un file JSON dans Excel en utilisant C # comme tel,
ssortingng json = JsonConvert.SerializeObject(Properties); //The ssortingng contains data in JSON format File.WriteAllText(@"C:\PJson.json", json); Excel.Workbook book = xlApp.ActiveWorkbook; Excel.Worksheet sheet = book.Worksheets[11]; sheet.Shapes.AddOLEObject(Filename: @"C:\PJson.json", Height: 400, Width: 400);
Maintenant, je veux écrire un code pour accéder à ce file depuis Excel et lire son contenu dans une autre string. Est-ce possible?