Hi
I have this code
should populate the value in textbox1 based on the last value is existed in lastrow for column E
but I want populate last value in column E from closed to open file contains form .
I mean the code should be in open file contains form and should bring the value from closed file
so the closed file contains values in column E and and should populate the last value in column E into textbox1 in open file
two both files are existed in this folder "C:\Users\MKKL\Desktop\REP\"
so how add the procedures about external source ?
I have this code
VBA Code:
dim ws as worksheet
set ws=sheet1
With ws
lr = .Range("A" & Rows.Count).End(xlUp).Row
TextBox1.Value = .Range("E" & lr).Value
End With
but I want populate last value in column E from closed to open file contains form .
I mean the code should be in open file contains form and should bring the value from closed file
so the closed file contains values in column E and and should populate the last value in column E into textbox1 in open file
two both files are existed in this folder "C:\Users\MKKL\Desktop\REP\"
so how add the procedures about external source ?