Autofill in Database problem

G

Guest

Hi All,

I have an Excel database with data entry user form. In the database there
are 12 columns. One of fields is multiline and can be entered with1 to 15
database rows, while the rest of the fields are singleline. I am asking if
someone can please tell me how to autofill each entry the data for the rest
of the lines. i have problem to define the varied range in the autofill
function.

Thanks in advance
Eli
 
M

Mike Fogleman

I have found this handy doing filldowns in one column to the last row of
another column:

Range("B2", Range("A2").End(xlDown)).Offset(0, 1).FillDown

In this case, I have headers, so I start from row 2. Column A has the data
rows that I want to filldown to in column B. If column A has data to row 20,
and the word "Hello" is in B2, then the code will fill "Hello" down to B20.

Mike F
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top