+ Reply to Thread
Results 1 to 10 of 10

Post Values in the next row

  1. #1
    Registered User
    Join Date
    08-14-2008
    Location
    UK
    Posts
    8

    Post Values in the next row

    Hi,

    I'm not that clued up on VBA or macros but I do have a few i regularly use, I’ve found a thread related to my problem but cant make much sense of it.

    Basically i want to post the 3 cell values (C5,C7,C9) into row B20,C20 and D20 respectively. However I want these values to form a list staring with row 20 and working down onto the next available/empty row.

    Wondered if anyone had done this/shed any light on the area,

    Many Thanks,

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Bren1,

    Did you want this happen once the cells' contents change or did you want to use a button on the worksheet to run the macro? Will all 3 cells always have data in them when posted or are blanks allowed?

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    08-14-2008
    Location
    UK
    Posts
    8

    Thumbs up

    Sorry, yes ill would like to use a button the user will update the cells then post them into their destination in the next empty row. No blanks will be allowed but the users will know this so its not that important

    Thanks,

    Brendan

  4. #4
    Registered User
    Join Date
    08-14-2008
    Location
    UK
    Posts
    8

    Unhappy Help

    Anyone got any ideas/need more information?

  5. #5
    Forum Contributor SOS's Avatar
    Join Date
    01-26-2004
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    327
    Hi bren1,

    Perhaps something like this might help:

    Please Login or Register  to view this content.
    Hope this helps

    Seamus

  6. #6
    Registered User
    Join Date
    08-14-2008
    Location
    UK
    Posts
    8

    Run Time Error

    Hi Seamus,

    Thanks for the response I gave that code a try but received the error:

    "Run Time Error '91': Object variable or With Block variable not set"

    Any thoughts?

    Thanks,

    Brendan

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Check out the ContactsForm example here

    http://www.excel-it.com/vba_examples.htm
    Hope that helps.

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

    Free DataBaseForm example

  8. #8
    Registered User
    Join Date
    07-18-2008
    Location
    India
    Posts
    68

    Post Values in the next row

    Hi,

    Please see if this helps.

    Please Login or Register  to view this content.

  9. #9
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    SOS's code should work if amended to this

    Option Explicit
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    08-14-2008
    Location
    UK
    Posts
    8

    Thanks

    Thanks for all your much needed help guys; It's working now.

+ 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