in column values
range("A1:A" & lr)
how to write this with dynamic row values
lcol = Sheets(1).Cells(1, Columns.Count).End(xlToLeft).Column
range("A1: " & lcol)
range(A1: ......" & lcol) ?????
in column values
range("A1:A" & lr)
how to write this with dynamic row values
lcol = Sheets(1).Cells(1, Columns.Count).End(xlToLeft).Column
range("A1: " & lcol)
range(A1: ......" & lcol) ?????
Last edited by mena; 06-07-2018 at 08:45 PM.
hi mena. i supposed you mean dynamic column? you got your dynamic row correct, although you must state what you want to do with that range. for eg.
for a dynamic column (dependable on where column ends), try:Please Login or Register to view this content.
or:Please Login or Register to view this content.
of course, you also must state what you wish to do with the rangePlease Login or Register to view this content.
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
i need to fill combobox with dynamic row values
ComboBox1.List=
i need to fill combobox with dynamic row values
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks