I got a question, if i have a specific values from column A of Workbook 1 and then i want to use those values to be append to next empty cell in column B of Workbook 2.
As far as i know, append range seems to be a better option for this issue but the thing is append range properties only have sheet name and data table input name only. So this solution seems like not the best i think.
Could anyone help me on this? Appreciate your help.
Hi,
As for now my current option will be just append the values contained in column a and write it onto column c right after the cell that has values in it. Meaning it will write to an empty cell on last row that it found. So it will be in last row and in empty cell right after cell that is fill with certain values. Could you help me out @ArunVelaayudhanG
That was awesome! Thank you so much @Srini84 for helping me out. Appreciate your help so much. But i got curiosity if lets say in book2 that you append the values. what if the column of that workbook are on index 3. How did we assign the write range then?
Read the whole Range of first excel
Take for each row and get row item of which column value you want
and then use write cell activity of workbook to write on required cell in excel 2
Still facing the issue watch this video
If this solves your question then mark it as solution
Thank you for your help and responses. But got curiosity. If i were to apply this method using write cell to write the values into new column. How do i know in which cell will i be writing. If the column on the book2 already have values in it maybe 100 rows of value how do i write it on the cell 101. And taking account if i dont actually know how many rows the column have already as it will kept updating from day to days. Do you mind to clarify this?
@hairil.hashimie
Take another read range and for each for your excel2
Before writing values to particular cell use get row item there and get the value to a variable.
Now,
check the variable is EmptyorNot
if yes
write the value else
Don’t write the value.
and also use the counter to increment the index after every iteration.
Hi @Srini84 i have tried your solution with some modification on the excel file. but it seems like it is not working if i changeBlankProcess.zip (29.1 KB) the position of column in DT2. Is there anything wrong with my code here.