+ Reply to Thread
Results 1 to 3 of 3

Thread: New value in a row

  1. #1
    alvin Kuiper
    Guest

    New value in a row

    Hi

    I can only see some answers on how making new value in a collum
    like:
    Range("a2").End(xlDown).Offset(1, 0) = rew

    but how do i make a new value in a row

    Regards
    Alvin


  2. #2
    Norman Jones
    Guest

    Re: New value in a row

    Hi Alvin,

    Try:
    '=============>>
    Public Sub Tester001()
    Dim rng As Range

    Set rng = Cells(2, Columns.Count). _
    End(xlToLeft).Offset(0, 1)
    rng.Value = "New"

    End Sub
    '<<=============


    ---
    Regards,
    Norman


    "alvin Kuiper" <alvinKuiper@discussions.microsoft.com> wrote in message
    news:4A7A7F2F-6963-455F-BAEC-3DA8A9E5A7BF@microsoft.com...
    > Hi
    >
    > I can only see some answers on how making new value in a collum
    > like:
    > Range("a2").End(xlDown).Offset(1, 0) = rew
    >
    > but how do i make a new value in a row
    >
    > Regards
    > Alvin
    >




  3. #3
    alvin Kuiper
    Guest

    Re: New value in a row

    yes yes yes

    Yhank you

    regards alvin


    "Norman Jones" wrote:

    > Hi Alvin,
    >
    > Try:
    > '=============>>
    > Public Sub Tester001()
    > Dim rng As Range
    >
    > Set rng = Cells(2, Columns.Count). _
    > End(xlToLeft).Offset(0, 1)
    > rng.Value = "New"
    >
    > End Sub
    > '<<=============
    >
    >
    > ---
    > Regards,
    > Norman
    >
    >
    > "alvin Kuiper" <alvinKuiper@discussions.microsoft.com> wrote in message
    > news:4A7A7F2F-6963-455F-BAEC-3DA8A9E5A7BF@microsoft.com...
    > > Hi
    > >
    > > I can only see some answers on how making new value in a collum
    > > like:
    > > Range("a2").End(xlDown).Offset(1, 0) = rew
    > >
    > > but how do i make a new value in a row
    > >
    > > Regards
    > > Alvin
    > >

    >
    >
    >


+ 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.2.0