PC Review


Reply
Thread Tools Rate Thread

Autofill in Database problem

 
 
=?Utf-8?B?15DXnNeZ?=
Guest
Posts: n/a
 
      17th Jun 2007
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
 
Reply With Quote
 
 
 
 
Mike Fogleman
Guest
Posts: n/a
 
      17th Jun 2007
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
"???" <@discussions.microsoft.com> wrote in message
news:E4BCF57E-1EB6-49AC-BAF3-(E-Mail Removed)...
> 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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
database autofill kable58 Microsoft Excel Worksheet Functions 3 17th Dec 2007 06:28 PM
Autofill to last row in a database JOn Kunces Microsoft Excel Misc 2 22nd Aug 2005 10:29 PM
Database-Query and AutoFill?????? =?Utf-8?B?bWF0dHNlX2Y=?= Microsoft Excel Misc 1 30th Jun 2005 11:55 AM
Autofill: Need to autofill one week block, (5) weekday only into cells. dstock Microsoft Excel Misc 1 17th Jun 2005 08:21 PM
Q. Autofill question: Can I autofill alpha characters like I can numbers? George Microsoft Excel Programming 5 7th Aug 2004 10:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:10 AM.