+ Reply to Thread
Results 1 to 4 of 4

Finding next available empty cell in a row

  1. #1
    Wendy
    Guest

    Finding next available empty cell in a row

    I'm having to transpose a lot of data that are currently arranged in rows to
    columns, it's the output of a 1:m data table.

    I can't quite find the right syntax that activates the next available cell
    in a row above.

    Many thanks

    Wendy

  2. #2
    Troubled User
    Guest

    RE: Finding next available empty cell in a row

    Set the start to the first cell to analyze. This will find the next
    available cell in the same column.

    Set thecurrentcell = Worksheets("XXXX").Range("XXX")

    Do While thecalcedcell.Value <> 0
    Set thecalcedcell = thecalcedcell.Offset(1, 0)
    Loop


    "Wendy" wrote:

    > I'm having to transpose a lot of data that are currently arranged in rows to
    > columns, it's the output of a 1:m data table.
    >
    > I can't quite find the right syntax that activates the next available cell
    > in a row above.
    >
    > Many thanks
    >
    > Wendy


  3. #3
    Bob Phillips
    Guest

    Re: Finding next available empty cell in a row


    NextFree = Activecell.Offset(-1,0).End(xlToRight)

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "Wendy" <[email protected]> wrote in message
    news:[email protected]...
    > I'm having to transpose a lot of data that are currently arranged in rows

    to
    > columns, it's the output of a 1:m data table.
    >
    > I can't quite find the right syntax that activates the next available cell
    > in a row above.
    >
    > Many thanks
    >
    > Wendy




  4. #4
    mvyvoda
    Guest

    Re: Finding next available empty cell in a row

    awesome,

    thanks gentlemen, i'm sure i can figure it out from here! who knew?

    -m

    "Bob Phillips" wrote:

    >
    > NextFree = Activecell.Offset(-1,0).End(xlToRight)
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (remove nothere from email address if mailing direct)
    >
    > "Wendy" <[email protected]> wrote in message
    > news:[email protected]...
    > > I'm having to transpose a lot of data that are currently arranged in rows

    > to
    > > columns, it's the output of a 1:m data table.
    > >
    > > I can't quite find the right syntax that activates the next available cell
    > > in a row above.
    > >
    > > Many thanks
    > >
    > > Wendy

    >
    >
    >


+ Reply to Thread

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