Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Autofill in Database problem

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Autofill in Database problem

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
"???" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
database autofill kable58 Excel Worksheet Functions 3 December 17th 07 06:28 PM
Autofill Problem Drew Excel Discussion (Misc queries) 2 August 27th 07 07:58 PM
Autofill problem Teethless mama Excel Discussion (Misc queries) 0 November 30th 06 02:53 AM
Autofill to last row in a database JOn Kunces Excel Discussion (Misc queries) 2 August 22nd 05 10:29 PM
Database-Query and AutoFill?????? mattse_f Excel Discussion (Misc queries) 1 June 30th 05 11:55 AM


All times are GMT +1. The time now is 07:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"