Closed Thread
Results 1 to 5 of 5

don't understand coding...

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-04-2010
    Location
    singapore
    MS-Off Ver
    Excel 2007
    Posts
    143

    don't understand coding...

    hi,
    i have just started on vba not long ago and have been looking at many examples.
    can anyone explain to me the meaning of the coding?
    does "range B:B"means entire column b?
    what is the function of ".rows.count,1" ? count number of rows for the 1st column?
    what is the function of ".end(xlUp).row?

    thanks

    With Sheets(1).Range("B:B")
                LastRow = .Cells(.Rows.Count, 1).End(xlUp).Row + 1
            End With

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: don't understand coding...

    dan2010, could you first please retitle your thread to something more appropriate - perhaps: "Syntax Confusion"

    at which point we will be able to answer your question

  3. #3
    Forum Contributor
    Join Date
    08-04-2010
    Location
    singapore
    MS-Off Ver
    Excel 2007
    Posts
    143

    Re: don't understand coding...

    ok. sorry abt tt

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: don't understand coding...

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: don't understand coding...

    Don't just post again, use the Edit button to re-title

Closed 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