Need macro to drag values down to blank cells

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Greetings all. I have a spreadsheet that I use to upload data to a SQL
Server using bulk insert. Column 1 is for a town name, but it is only
populated for the first row of every town. For example, if there are 10 rows
of data for Leesburg, only row 1 would have "Leesburg" in column 1, and rows
2-10 will be blank for column 1, until you get to the next set of towns.
Lets say the next 10 rows are for Tampa, starting at row 11. Column 1 at row
11 will say "Tampa", but rows 12-20 will be blank, until the next town
starts. What I do is drag each town down through the section for that town,
so that every row has the town populated. Is there a way to do this
programatically?

Greg
.



Relevant Pages

  • Re: VBA - Create a recordset with no records for inserting
    ... directly into the server, I can run a PROC that gets files from my desktop. ... The ServiceBroker will construct the dynamic SQL statement to BULK INSERT the ...
    (microsoft.public.data.ado)
  • ANN: CsvReader 2.0 Released
    ... One of the most common tasks involving CSV data in a Microsoft ... environment is to bulk insert data originating from a CSV file into SQL ... another datasource directly into SQL Server at almost DTS speeds. ...
    (microsoft.public.dotnet.general)
  • Re: Ignoring duplicates in BULK INSERT with ADO and SQL Server 200
    ... I am using bulk insert to transfer hugh data from a .dbf file to my sql ... from SQL Server. ... Because for SQL Server to do BULK INSERT that is what it demands. ...
    (microsoft.public.data.ado)
  • Import mit Bulk Insert Probleme mit Umlauten
    ... Ich bin mit meiner Applikation von SQL 2000 Server auf SQL 2005 Server ... Jetzt habe ich mit den Bulk Inserts mein Problem ... In der zu importierenden Textdatei stehen die Umlaute korrekt ...
    (microsoft.public.de.sqlserver)
  • RE: Fulltext failure on a 2 node cluster
    ... Server full-text search resource online: "SQL Cluster Resource 'Full Text' ...
    (microsoft.public.sqlserver.clustering)