, excel.. 3 (x, y, z) . , . , (, ) . , ?? Application.CalculateFull() . , .
/ (UDF) . , UDF "MyFunction", "MyFunction (" MyFunction (".
, Excel.Application "excelApp", / # :
foreach (Excel.Workbook workbook in excelApp.Workbooks)
{
foreach (Excel.Worksheet worksheet in workbook.Worksheets)
{
worksheet.Cells.Replace(
"MyFunction(",
"MyFunction(",
Excel.XlLookAt.xlPart,
Excel.XlSearchOrder.xlByRows,
false,
Type.Missing,
Type.Missing,
Type.Missing);
}
}
:
(a) (RTD). , , , . " ". , , Find/Replace 100% , RTD . , , . Excel Visual Basic.NET, VB.NET, #, .
(b) MyFunction (x, y, z, Refresh). "", , "", . , , .
(c) Application.CalculateFull(), , , . , ( ) 100% .
, , Find/Replace. , .
-