excel - Pasting value into matched cell in another sheet -


please help! I have a problem that I was stuck for the last day

I need to move data from one sheet to another in another workbook. The output line matches a value in the input column , And the output column input sheet corresponds to a date in column B.

I have lesser input-out workbooks / Sheet Wbin, wbout, sheetin, sheetout, respectively. Does anyone help me, where's my problem? I got the error runtime error '9': copy the subscript outside the range in the destination line.

  Windows (wbin). Activate Sheets (Sheetin). Select IMaxRow = 5000 Dim subj1 as the string for the IRO dim = 1 iMaxRow subj1 = range ("B" and "iRow") as the string. Text subj2 = range ("A" and "iRow"). Text with workbooks (wbin) Sheets (Sheetin) .seel (iRow), 3) 'start the error again but next. Kompi Destination: = Workbooks (wbout). Worksheets (Sheetout) .Cell (Worksheet Function Match (Sabze2 and "*", _Webout) Sheets (Chadrin). Column (2), 0) & amp; _ WorksheetFunction.Match (subj1, workbooks). Sheets (Sheetigen). Roov (2), 0) +1) End with the next IRO   

For now, I have disabled the error on resume, In the input column there are 4 numbers after the string, while the same output row header has only 4 numbers, so I have wildcards Tried to match the field.

Any advice would really be appreciated!

This is the right way to solve your problem. You can find the worksheet function. There is a need to use 'range.fund' rather than 'match'. Due date range in the form of the range, call the established range set as Header = workbooks (wbout). Worksheet (Sheetout) .ows (2) set match = date header.find (all1) .copy interceived (found cell.inter column, workbook (wbout). Worksheet (sheetout) .arov (all 2))

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -