+ Reply to Thread
Results 1 to 10 of 10

Post record to database

  1. #1
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    858

    Post record to database

    I am capturing data to post to a database and the first field is the month which is selected from a drop-down list. When I post the record, column A in the database shows a drop down list for the month. How do I remove the drop-down in the database?
    Thanks in advance

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Post record to database

    What is the database?
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    858

    Re: Post record to database

    I am capturing a record (8 cells of data with a range name) in Sheet1 which gets posted to Sheet2 which is the Database.

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Post record to database

    How do you "post" the record? Copy and paste? If it is so, you may paste special values instead.

  5. #5
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    858

    Re: Post record to database

    This is the code I am using:
    Please Login or Register  to view this content.

  6. #6
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Post record to database

    You may try:
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    858

    Re: Post record to database

    Thanks very much. It works great but the date is shown as a value in the database. How can I convert it to MMYY when posting?

  8. #8
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Post record to database

    May you format the database column beforehand? Then the code will work.

  9. #9
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    858

    Re: Post record to database

    Perfect. Thanks very much.

  10. #10
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Post record to database

    You are welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Add new record to database
    By jimmydean in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2012, 07:36 AM
  2. Delete a record from a database
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-01-2010, 06:21 PM
  3. Last record is not adding to database
    By ramserp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-12-2009, 08:43 AM
  4. Printing a database record
    By Fiat-Lux in forum Excel General
    Replies: 1
    Last Post: 02-11-2006, 08:10 AM
  5. how do I edit a record in database
    By Ashu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2005, 09:05 AM

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