excel - Error "Object Required" from looping -


i hitting error message of "object required" running code below. trying create data set in ee_data_draft tab collecting 1 column in rdl_data tab , other column in export_datafile tab.

would let me know how can correct ? thank you!

sub ee_data_build()      dim i, j, rdl_row_num, export_row_num integer      = 2     j = 2     rdl_row_num = rdl_data.rows.count     export_row_num = export_datafile.rows.count      ee_data_draft.select      while j <= export_row_num ' repeat looping through employee id's          = 2          while rdl_data.cells(i, 1).value <> ""              cells((j - 2) * (rdl_row_num - 1) + i, 1).value = rdl_data.cells(i, 1).value        'collecting ee_id             cells((j - 2) * (rdl_row_num - 1) + i, 2).value = export_datafile.cells(j, 2).value 'collecting company id             = + 1          loop          j = j + 1      loop  end sub 


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -