摘自EXCEL帮助 在 Visual Basic 中使用 Microsoft Excel 工作表函数 注释 一些工作表函数在 Visual Basic 中是不实用的。例如:Concatenate 函数就不实用,因为在 Visual Basic 中可使用 & 运算符来连接多个文本值。 从 Visual Basic 中调用工作表函数 以下 Sub 过程使用 Min 工作表函数来决定在某个单元格区域中的最小值。首先,将变量 myRange 声明为 Range 对象,然后将其设置为 Sheet1 上的 A1:C10 单元格区域。指定另一个变量 answer 为对 myRange 应用 Min 函数的结果。最后,answer 的值就被显示在消息框中。 Sub UseFunction() Sub FindFirst() 在单元格中插入工作表函数 Sub InsertFormula() Static loanAmt
A Acosh And Asin Asinh Atan2 Atanh AveDev Average B BetaInv BinomDist C ChiDist ChiInv ChiTest Choose Clean Combin Confidence Correl Cosh Count CountA CountBlank CountIf Covar CritBinom D Days360 Db DCount DCountA Ddb Degrees DevSq DGet DMax DMin Dollar DProduct DStDev DStDevP DSum DVar DVarP E ExponDist F FDist Find FindB FInv Fisher FisherInv Fixed Floor Forecast Frequency FTest Fv G GammaInv GammaLn GeoMean Growth H HLookup HypGeomDist I Intercept Ipmt Irr IsErr IsError IsLogical IsNA IsNonText IsNumber Ispmt IsText J L LinEst Ln Log Log10 LogEst LogInv LogNormDist Lookup M Max MDeterm Median Min MInverse MIrr MMult Mode N NormDist NormInv NormSDist NormSInv NPer Npv O Or P Percentile PercentRank Permut Phonetic Pi Pmt Poisson Power Ppmt Prob Product Proper Pv Q R Rank Rate Replace ReplaceB Rept Roman Round RoundDown RoundUp RSq RTD S SearchB Sinh Skew Sln Slope Small Standardize StDev StDevP StEyx Substitute Subtotal Sum SumIf SumProduct SumSq SumX2MY2 SumX2PY2 SumXMY2 Syd T TDist Text TInv Transpose Trend Trim TrimMean TTest U V VarP Vdb VLookup W Weibull X |
|站长邮箱|小黑屋|手机版|Office中国/Access中国
( 粤ICP备10043721号-1 )
GMT+8, 2025-4-2 12:51 , Processed in 0.098830 second(s), 17 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.