excel - vLookup from highlighted cells -


i have highlighted cells in columns, want open new workbooks according these cells value . can this, ı want specify place of these cells value in new workbooks. (i.e cells(2,6) ). can succeed in finding cells, use vlookup . know complicated have solve . used find method ;

   dim rfound range                              sheets("sheet1")                           set rfound = .cells.find(what:=resimno) end 

    dim gcell range                         set gcell = activesheet.cells.find(resimno)                         'vlookup                                  twb.sheets("sheet1")                                  gcell.offset(0, 1).activate                                 gcell.offset(0, 1).value = application.vlookup(resimno, tbl.range, 2, false)                                 gcell.offset(0, 3).value = application.vlookup(.cells(p, 2), tbl.range, 4, false)                                 gcell.offset(0, 4).value = application.vlookup(.cells(p, 2), tbl.range, 5, false)                                                       activeworkbook.close true                                 end 

Comments

Popular posts from this blog

javascript - Replicate keyboard event with html button -

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Web audio api 5.1 surround example not working in firefox -