我有一个这样的字符串:
"'where CAST(a.DT_NPE_SORTIE as integer ) < cast (add_months (cast (a.dt_nep_restructuration as date format 'YYYYMMDD'), 12) as integer) and a.DT_NPE_SORTIE is not null and a.DT_NPE_SORTIE <> '99991231' and a.dt_npe_restructuration is not null and a.dt_npe_restructuration <> '99991231'"
我需要提取所有"a.FIELDNAME"喜欢a.dt_nep_restructuration,a.DT_NPE_SORTIE从以前的屏幕。
我需要在 VBA 中为工作中的项目执行此操作。
到目前为止,我使用If&InStr来检查字符串中是否存在值列表。但是对我来说提取所有 a.FIELDNAME 然后检查它们是否与数组中的 fieldname 匹配会更容易。
此致,
约夫策尔
in excel I need to get this to be a subscript in the output.
Basically I want all the numbers in the output to be subscripted
I have tried this code, and it is part of a large IF "loop"
B2=2
=(B2="","","C"&B2) = C2
Run Code Online (Sandbox Code Playgroud)
where I desire an output like this C_2 (any help to get an actual C subscript her in the question box and not C_2, when making the question, would also be helpful)
the formatting did not …