Consulting

Results 1 to 5 of 5

Thread: Sleeper: Enter Data In Worksheet & Delete Empty Rows

  1. #1
    Moderator VBAX Mentor sheeeng's Avatar
    Joined
    May 2005
    Location
    Kuala Lumpur
    Posts
    392
    Location

    Exclamation Sleeper: Enter Data In Worksheet & Delete Empty Rows

    Hello all VBAExpress members ,

    I'm facing this problem for my homework . (pls view attachment)

    1) I would like to scan / search through Sheet1 in Excel to row after last row.

    2) The ListBox in Userform1 must list all items available in column A .

    3) How to change manually (by VBA macro code) the ListBox1 properties for BoundColumn, ColumnCount, Column Heads, ListSytle and RowSource?

    4) I need to enter data through 3 three text boxes for each Year, Month & Day from Userform1.

    5) Then I enter data into the row after last row that contains previous data.

    6) When searching through for last row before entering data, can delete when encounter empty rows.

    7) Data had to be enter via form. Add and delete functions launched from form buttons.





    Please help me.
    Thanks.
    My 100th Post.

  2. #2
    Administrator
    Chat VP
    VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    Quote Originally Posted by sheeeng
    I'm facing this problem for my homework . (pls view attachment)
    Hi Sheeeng,

    This all looks like a direct restatement of a homework problem or assignment.(?) Perhaps you'd better read our posting rules (click here) and explain a little more about the quoted sentence first. You can PM me if you prefer...

    Regards,
    John
    You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you

    The major part of getting the right answer lies in asking the right question...


    Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.

  3. #3
    Moderator VBAX Mentor sheeeng's Avatar
    Joined
    May 2005
    Location
    Kuala Lumpur
    Posts
    392
    Location
    Sorry, let me rephrase it again. It is an example from my mind. Not a homework directly. Just trying out to implement it. Sorry again.
    Help if allowed by Site Admin.

    johnske, do i need to edit my original post? or delete it?

    Sorry for all the unnessasary problem....
    If help is not allowed, How do I delete this thread?
    Pls tell me how to remove this thread if this thread is illegimate in this forum.
    Thanks.

  4. #4
    Administrator
    Chat VP VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    Hi sheeeng,

    No need to edit or delete your original post, it's always good to be completely up-front and say that it is homework.

    It's not that we can't help at all with a homework assignment, we just treat the post in a different manner to the more usual post.

    What I mean by this is that with a normal post someone may come up with a complete and specific solution for you, where-as with homework it's treated as a non-specific problem where we can give advice, links, and point you in the directions you need, and some may even offer solutions to some of the individual points but we won't put it all together for you - that's your homework...

    So if someone wants to reply to this thread they know they can do so in a general non-specific manner.

    Regards,
    John

    PS congrats on your 100th post
    You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you

    The major part of getting the right answer lies in asking the right question...


    Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.

  5. #5
    Moderator VBAX Mentor sheeeng's Avatar
    Joined
    May 2005
    Location
    Kuala Lumpur
    Posts
    392
    Location
    Thanks for the advice.
    I appreciate it.
    Thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •