+ Reply to Thread
Results 1 to 7 of 7

Issue with Cell Numbering

  1. #1
    Registered User
    Join Date
    08-11-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007/ 2010
    Posts
    72

    Issue with Cell Numbering

    Hello All...

    Please see the attached picture.

    What I have are the cell row numbers down the left. They don't line up with what I need, so at cell #4, I've started my first row of data. What I'm trying to do is have the code you see below, fill the first empty row with the data entered from the Userform. However, it sees Row 4 with data from the new row number I put, and the Userform is placing the data at Row 79, which is the first row without any data.

    Please see the code, and let me know what I can do to tweak it...

    Private Sub cmdSubmit_Click()
    Dim NR As Long

    Please Login or Register  to view this content.
    If there's another way I can phrase this, please let me know.

    Thanks,

    Jared
    Attached Images Attached Images

  2. #2
    Forum Contributor wamp's Avatar
    Join Date
    11-10-2008
    Location
    Norway
    MS-Off Ver
    97, 2000 & 2003 (diff. workstations)
    Posts
    184

    Re: Issue with Cell Numbering

    Try this

    Please Login or Register  to view this content.
    _______________________________________________
    Remember:

    Read the rules!

    Use code tags! Place [CODE] before the first line of code and [/CODE] after the last line of code.

    Mark your post [SOLVED] if it has been answered satisfactorily.
    To do this, click EDIT in your original post, click GO ADVANCED and set the PREFIX. It helps everybody!

    If you are approve (or disapprove) of any members response to your problem, please click the star icon underneath their post and comment. It matters.

  3. #3
    Registered User
    Join Date
    08-11-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007/ 2010
    Posts
    72

    Re: Issue with Cell Numbering

    Hey Wamp...

    It worked, however, I'd like the first row to label itself as 1 (for Row 1), but it shows up automatically as '0'... I've read over the code and I don't see how to adjust that. Any ideas?

    Thanks,

    Jared

  4. #4
    Forum Contributor wamp's Avatar
    Join Date
    11-10-2008
    Location
    Norway
    MS-Off Ver
    97, 2000 & 2003 (diff. workstations)
    Posts
    184

    Re: Issue with Cell Numbering

    not quite sure I understand what you mean.. according to your example picture, you start at Row number four.
    I therefore put
    Please Login or Register  to view this content.
    (which should make the first number "1")

    if, however, your first editable row is number 3; then you should alter it to
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-11-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007/ 2010
    Posts
    72

    Re: Issue with Cell Numbering

    Hey Wamp,

    I've attached (see Row_Numbering attachment) an example of what I'm talking about... the cell numbering automatically starts with "0" and I'd like to see it start with "1".

    I'm sorry I wasn't very clear in my last post.

    Thanks,

    Jared
    Attached Images Attached Images

  6. #6
    Registered User
    Join Date
    08-11-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007/ 2010
    Posts
    72

    [Solved]Re: Issue with Cell Numbering

    Thanks for the help, Wamp.

  7. #7
    Registered User
    Join Date
    08-11-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007/ 2010
    Posts
    72

    Re: [Solved]Re: Issue with Cell Numbering

    Solved... I'm not able to solve it the way we used to.

+ 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