+ Reply to Thread
Results 1 to 2 of 2

Excel saving fields to MS Access by its existing rows

  1. #1
    Registered User
    Join Date
    02-20-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    5

    Question Excel saving fields to MS Access by its existing rows

    Hi, I am creating a macro that saves rating and comments in MS Access. I would like to know if it is possible to save fields in MS Access by it's existing columns. Below is how I have the MS Access Database set up:

    Evaluator Name KPI1 KPI1 Comments KPI2 Comments KPI3 KPI3 Comments

    This is how I want the algorithm to flow.

    1. Evaluator (Entry on Excel) saves in first column (Evaluator field in Access)
    2. Name saves in next existing column in Access.
    3. KPI1 saves in next existing column in Access
    ...
    If next column is the last column and no columns come after, process ends.

    This way, I only need to create a single Macro and call it on every saving process I have.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,893

    Re: Excel saving fields to MS Access by its existing rows

    Your table is not normalized. You are using a spreadsheet mindset here. You need to first normalize your table. Read this article on designing a database.

    http://www.deeptraining.com/litwin/d...aseDesign.aspx

    Once you have normalized your table, then you can link your front end (Excel) as a table in your backend (Access). There is no need for any type of VBA to do that.

    http://office.microsoft.com/en-us/ac...001095095.aspx
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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