Results 1 to 8 of 8

Still haven't figured this one out

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-27-2005
    Location
    UK
    Posts
    102

    Question Still haven't figured this one out

    Hi,

    To set the scene, I'm developing a excel based register for my classes.

    I currently have a button that inserts the date and moves down to the next row.

    I would like to develop this code so that it not only puts the date in but, also inserts a tick symbol next to each of the pupils in that class.

    I have all my classes on one worksheet, with hyperlinks to navigate to each of the groups.

    Each class will have a different number of pupils, but next to each pupil is a number beginning at one and then going up depending on how many pupils in the class.

    The macro needs to see if there's a number in column A and if there is then put a tick in that row. It needs to work down the column putting the ticks in, but then stop at the end of the list.

    I have attached a screen shot of just one of the classes to show what I mean and give a clearer idea as to what layout I'm working with. So the date will go in the row where the active cell is currently located and the ticks need to be inserted next to each pupil below the date.

    Here's the code I have so far -

    Public Sub Date_Today()
    With ActiveCell
    .Value = Date
    .NumberFormat = "dd-mmm-yy"
    ActiveCell.Offset(1, 0).Select
    End With
    End Sub

    Any help would be just great, as this would be a big step towards me completing a significant section of this workbook.

    If I haven't explained anything well or you just don't get what I'm going on about then let me know.

    Many thanks,

    Mark.
    Attached Images Attached Images

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