advanced help
per page, with , order by , clip by
Results of 0 - 1 of about 0 (0.000 sec.)
[[20020831164048]]
@digest: 541b86e8e603fc6800d1cf30e6f78cf1
@id: 464
@mdate: 2003-04-29T06:43:55Z
@size: 949
@type: text/plain
#keywords: 番売 (40899), 工番 (21097), 上! (12374), 上, (10346), 多年 (7815), 売管 (7407), 営分 (7380), 析表 (4869), xlautoopen (4869), runautomacros (4464), uri (4152), hisao (3942), 理¥ (3658), 経営 (2911), 売上 (2285), 通用 (2091), 度別 (1668), 本年 (1558), 年度 (1527), 名[ (1289), 販売 (1226), iserror (1084), vlookup (681), 理表 (610), formular1c1 (545), 分析 (527), み取 (455), 管理 (411), 取っ (395), activeworkbook (356), ファ (326), filename (318)
『vbaでのvlookupについて教えてください』(hisao)
販売管理表で 本年度を データーから読み取って a 年度とします。 これを参照して経営分析表を作成します。 Workbooks.Open(Filename:="¥販売管理¥uri" & a & ".xls").RunAutoMacros Which:= _ xlAutoOpen uri = ActiveWorkbook.Name Range("J3:J" & n).Select Selection.FormulaR1C1 = _ "=IF(ISERROR(VLOOKUP(RC[-5],[uri]工番売上!工番売上,2,0)),0,VLOOKUP_ (RC[-5],[uri]工番売上!工番売上,2,0))" とすると uriファイルを読み取ってくれません。 [uri]のところをもとのファイル名[uri02.xls] とすれば良いのですが 多年度に通用するvbaを作成したいので 年度別のファイルを変数で参照したいのですが どなたか助けてください。 ---- "=IF(ISERROR(VLOOKUP(RC[-5],[uri]工番売上!工番売上,2,0)),... では"の中なのでuriがuriのままExcelに渡されます。 "=IF(ISERROR(VLOOKUP(RC[-5],[" & uri & "]工番売上!工番売上,2,0)),... のようにする必要があります。 (kazu) ---- 有難う御座いました。助かりました。(hisao) ...
https://www.excel.studio-kazu.jp/wiki/kazuwiki/200208/20020831164048.txt - [detail] - similar
PREV NEXT
Powered by Hyper Estraier 1.4.13, with 97047 documents and 608232 words.

訪問者:カウンタValid HTML 4.01 Transitional