Results 1 to 10 of 10

macro to fill blank cells with location

Threaded View

kellen macro to fill blank cells... 08-23-2010, 07:14 PM
jaslake Re: macro to fill blank cells... 08-23-2010, 10:34 PM
kellen Re: macro to fill blank cells... 08-24-2010, 12:27 PM
shg Re: macro to fill blank cells... 08-24-2010, 12:36 PM
jaslake Re: macro to fill blank cells... 08-24-2010, 01:45 PM
JBeaucaire Re: macro to fill blank cells... 08-24-2010, 03:24 PM
shg Re: macro to fill blank cells... 08-24-2010, 04:51 PM
JBeaucaire Re: macro to fill blank cells... 08-24-2010, 08:10 AM
JBeaucaire Re: macro to fill blank cells... 08-24-2010, 07:04 PM
shg Re: macro to fill blank cells... 08-24-2010, 07:52 PM
  1. #1
    Registered User
    Join Date
    08-23-2010
    Location
    Victoria, BC
    MS-Off Ver
    Excel 2003
    Posts
    2

    macro to fill blank cells with location

    Hi,

    I am trying to build a macro to fix a report so that location numbers will be beside all costs associated. It is likely best to display the data I have, and what I am looking to do.

    Below I have provided an unedited report which is an example of what I am working with. Cell A1 will provide the location name (starting with 604 in example), and will have 1 to 7 rows of text in column B associated with that location, while column A will be blank until a there is a new location name. I would like to fill column A with location number beside each line of text (see edited report further below).

    There is a blank row between each change in location name, then it will restart with a new location number and several rows of text.I do not need to keep the blank rows, but can anyone help with vba code to auto-fill column A with the location names?


    UNEDITED REPORT
    604 Text
    (blank) Text
    (blank) Text

    605 Text

    606 Text
    (blank) Text


    EDITED REPORT
    604 Text
    604 Text
    604 Text

    605 Text

    606 Text
    606 Text
    Last edited by kellen; 08-26-2010 at 12:56 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1