+ Reply to Thread
Results 1 to 4 of 4

Add Project to 'database'

  1. #1
    Registered User
    Join Date
    06-08-2008
    Posts
    36

    Add Project to 'database'

    Hi,

    I recorded my marco.

    Please Login or Register  to view this content.
    Basically my intention is to create a database filled with my projects.

    1) is there a way to simplify the coding?
    2) how to I add to a new line? This code always overwrite the first line.

    PS: It is recorded as a marco and i have not linked it to the button.
    Attached Files Attached Files
    Last edited by jieyi; 03-11-2009 at 11:57 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Add Project to 'database'

    HI

    1) Here's some general code that will action your example. Clear out row 2 on project list, select add project, then run the code

    Please Login or Register  to view this content.
    2) Where will the next bit of data reside? If you have a heap of data in columns A:C, then what will be your break point? Each appearance of Job Ref?

    rylo

  3. #3
    Registered User
    Join Date
    06-08-2008
    Posts
    36

    Re: Add Project to 'database'

    Hi Rylo,

    Thanks for your quote. It works fine.

    what do you mean by
    2) Where will the next bit of data reside? If you have a heap of data in columns A:C, then what will be your break point? Each appearance of Job Ref?
    Is there a way that after adding it to the 'database' it will auto-sort it according to Column (A2 till to the end) based on number biggest till smallest. PS: Row 1 is used for me to define the parameters in each column, so that one need no be sorted.

    thanks.

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Add Project to 'database'

    Hi

    in your example file, you only have 1 item. What I was referring to was what if you have more than one data block? So if you had data going down to row 1500??? How would you separate the items?

    2) Adding some sort code shouldn't be a problem. There are plenty of example on this site of sorting code. Is it a quirk of your example, but there was nothing copied over into column A???

    rylo

+ 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