Microsoft Access Macro - is there a way to copy records with a macro?












0















I have written a macro in Microst Access that runs a make-table query, opens the table and selects all the records. (I don't know VBA so I have to use macros).



Then I copy all the records and paste them into Word and run a macro I've created there.



Is there a way to add a command of some sort to copy selected records?



If so, here would be the end result that I'm trying to accomplish.



By adding this to a menu item, the End User would simply click the Run Whatever Report button and it would go through all these steps:




  1. Run a make-table query.

  2. Open the resulting table.

  3. Select all records and fields.

  4. Copy all selection.

  5. Open Word.

  6. End User clicks previously created macro button.

  7. Task completed.


My End Users are at the very basic level and are menu-button driven. If they have to manually select the records, I will (seriously) have to write a manual on "How To". Therefore the reason for my desired end result.



Thanks for any help or suggestions!










share|improve this question





























    0















    I have written a macro in Microst Access that runs a make-table query, opens the table and selects all the records. (I don't know VBA so I have to use macros).



    Then I copy all the records and paste them into Word and run a macro I've created there.



    Is there a way to add a command of some sort to copy selected records?



    If so, here would be the end result that I'm trying to accomplish.



    By adding this to a menu item, the End User would simply click the Run Whatever Report button and it would go through all these steps:




    1. Run a make-table query.

    2. Open the resulting table.

    3. Select all records and fields.

    4. Copy all selection.

    5. Open Word.

    6. End User clicks previously created macro button.

    7. Task completed.


    My End Users are at the very basic level and are menu-button driven. If they have to manually select the records, I will (seriously) have to write a manual on "How To". Therefore the reason for my desired end result.



    Thanks for any help or suggestions!










    share|improve this question



























      0












      0








      0








      I have written a macro in Microst Access that runs a make-table query, opens the table and selects all the records. (I don't know VBA so I have to use macros).



      Then I copy all the records and paste them into Word and run a macro I've created there.



      Is there a way to add a command of some sort to copy selected records?



      If so, here would be the end result that I'm trying to accomplish.



      By adding this to a menu item, the End User would simply click the Run Whatever Report button and it would go through all these steps:




      1. Run a make-table query.

      2. Open the resulting table.

      3. Select all records and fields.

      4. Copy all selection.

      5. Open Word.

      6. End User clicks previously created macro button.

      7. Task completed.


      My End Users are at the very basic level and are menu-button driven. If they have to manually select the records, I will (seriously) have to write a manual on "How To". Therefore the reason for my desired end result.



      Thanks for any help or suggestions!










      share|improve this question
















      I have written a macro in Microst Access that runs a make-table query, opens the table and selects all the records. (I don't know VBA so I have to use macros).



      Then I copy all the records and paste them into Word and run a macro I've created there.



      Is there a way to add a command of some sort to copy selected records?



      If so, here would be the end result that I'm trying to accomplish.



      By adding this to a menu item, the End User would simply click the Run Whatever Report button and it would go through all these steps:




      1. Run a make-table query.

      2. Open the resulting table.

      3. Select all records and fields.

      4. Copy all selection.

      5. Open Word.

      6. End User clicks previously created macro button.

      7. Task completed.


      My End Users are at the very basic level and are menu-button driven. If they have to manually select the records, I will (seriously) have to write a manual on "How To". Therefore the reason for my desired end result.



      Thanks for any help or suggestions!







      microsoft-word macros microsoft-access






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 26 '13 at 18:40









      Shekhar

      4,52032945




      4,52032945










      asked Jan 13 '12 at 22:34









      SherrySherry

      111




      111






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Why not just create a report using the Access Report Designer? It's not that hard and doesn't require knowing VBA. There are report wizards for basic designs. You already have your "make table" query that creates the data to be reported. Just choose it in the report wizard and in a few simple steps you will have a basic report. Once the report is designed and saved you can create a simple one-step macro to open that report and put that macro on a menu button.



          You can then use the Office Links button on the toolbar to export the report to Word, if that's still necessary.



          If you want to learn more about creating reports starting with using the wizard, here's a very clear video tutorial on YouTube: http://bit.ly/xQBzjp






          share|improve this answer
























          • I can create a report but my end user needs this in MS Word format. Basically, they need a text version of my FN and LN field to go from being columns to end up like this in Word: John DoeJim RupertLeslie Lester*Mandy Manilow I have solved this problem, but thanks for the suggestion!

            – Sherry
            Jan 17 '12 at 23:12





















          0














          http://www.vbforums.com/showthread.php?t=376693 (interesting info that may be close to what you are looking for).



          If you must use a macro, this site looked promising.






          share|improve this answer


























          • Could you expand your answer? Its a bit unclear exactly what your suggesting to do.

            – Simon Sheehan
            Jan 14 '12 at 20:36











          • Thanks for your response. I really do need to delve into the world of VBA. Time seems to be the biggest factor for me. What I know about Access I've had to teach myself through trial and error (no classes, no books...sigh). My biggest problem on this one is the deadline and I don't have time to learn VBA in time to meet the deadline. :-( Thanks for the links! Will definitely look into them and hopefully be able to put them to use!

            – Sherry
            Jan 17 '12 at 23:10











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f378186%2fmicrosoft-access-macro-is-there-a-way-to-copy-records-with-a-macro%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Why not just create a report using the Access Report Designer? It's not that hard and doesn't require knowing VBA. There are report wizards for basic designs. You already have your "make table" query that creates the data to be reported. Just choose it in the report wizard and in a few simple steps you will have a basic report. Once the report is designed and saved you can create a simple one-step macro to open that report and put that macro on a menu button.



          You can then use the Office Links button on the toolbar to export the report to Word, if that's still necessary.



          If you want to learn more about creating reports starting with using the wizard, here's a very clear video tutorial on YouTube: http://bit.ly/xQBzjp






          share|improve this answer
























          • I can create a report but my end user needs this in MS Word format. Basically, they need a text version of my FN and LN field to go from being columns to end up like this in Word: John DoeJim RupertLeslie Lester*Mandy Manilow I have solved this problem, but thanks for the suggestion!

            – Sherry
            Jan 17 '12 at 23:12


















          0














          Why not just create a report using the Access Report Designer? It's not that hard and doesn't require knowing VBA. There are report wizards for basic designs. You already have your "make table" query that creates the data to be reported. Just choose it in the report wizard and in a few simple steps you will have a basic report. Once the report is designed and saved you can create a simple one-step macro to open that report and put that macro on a menu button.



          You can then use the Office Links button on the toolbar to export the report to Word, if that's still necessary.



          If you want to learn more about creating reports starting with using the wizard, here's a very clear video tutorial on YouTube: http://bit.ly/xQBzjp






          share|improve this answer
























          • I can create a report but my end user needs this in MS Word format. Basically, they need a text version of my FN and LN field to go from being columns to end up like this in Word: John DoeJim RupertLeslie Lester*Mandy Manilow I have solved this problem, but thanks for the suggestion!

            – Sherry
            Jan 17 '12 at 23:12
















          0












          0








          0







          Why not just create a report using the Access Report Designer? It's not that hard and doesn't require knowing VBA. There are report wizards for basic designs. You already have your "make table" query that creates the data to be reported. Just choose it in the report wizard and in a few simple steps you will have a basic report. Once the report is designed and saved you can create a simple one-step macro to open that report and put that macro on a menu button.



          You can then use the Office Links button on the toolbar to export the report to Word, if that's still necessary.



          If you want to learn more about creating reports starting with using the wizard, here's a very clear video tutorial on YouTube: http://bit.ly/xQBzjp






          share|improve this answer













          Why not just create a report using the Access Report Designer? It's not that hard and doesn't require knowing VBA. There are report wizards for basic designs. You already have your "make table" query that creates the data to be reported. Just choose it in the report wizard and in a few simple steps you will have a basic report. Once the report is designed and saved you can create a simple one-step macro to open that report and put that macro on a menu button.



          You can then use the Office Links button on the toolbar to export the report to Word, if that's still necessary.



          If you want to learn more about creating reports starting with using the wizard, here's a very clear video tutorial on YouTube: http://bit.ly/xQBzjp







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 14 '12 at 0:37









          Dave BeckerDave Becker

          2,5351315




          2,5351315













          • I can create a report but my end user needs this in MS Word format. Basically, they need a text version of my FN and LN field to go from being columns to end up like this in Word: John DoeJim RupertLeslie Lester*Mandy Manilow I have solved this problem, but thanks for the suggestion!

            – Sherry
            Jan 17 '12 at 23:12





















          • I can create a report but my end user needs this in MS Word format. Basically, they need a text version of my FN and LN field to go from being columns to end up like this in Word: John DoeJim RupertLeslie Lester*Mandy Manilow I have solved this problem, but thanks for the suggestion!

            – Sherry
            Jan 17 '12 at 23:12



















          I can create a report but my end user needs this in MS Word format. Basically, they need a text version of my FN and LN field to go from being columns to end up like this in Word: John DoeJim RupertLeslie Lester*Mandy Manilow I have solved this problem, but thanks for the suggestion!

          – Sherry
          Jan 17 '12 at 23:12







          I can create a report but my end user needs this in MS Word format. Basically, they need a text version of my FN and LN field to go from being columns to end up like this in Word: John DoeJim RupertLeslie Lester*Mandy Manilow I have solved this problem, but thanks for the suggestion!

          – Sherry
          Jan 17 '12 at 23:12















          0














          http://www.vbforums.com/showthread.php?t=376693 (interesting info that may be close to what you are looking for).



          If you must use a macro, this site looked promising.






          share|improve this answer


























          • Could you expand your answer? Its a bit unclear exactly what your suggesting to do.

            – Simon Sheehan
            Jan 14 '12 at 20:36











          • Thanks for your response. I really do need to delve into the world of VBA. Time seems to be the biggest factor for me. What I know about Access I've had to teach myself through trial and error (no classes, no books...sigh). My biggest problem on this one is the deadline and I don't have time to learn VBA in time to meet the deadline. :-( Thanks for the links! Will definitely look into them and hopefully be able to put them to use!

            – Sherry
            Jan 17 '12 at 23:10
















          0














          http://www.vbforums.com/showthread.php?t=376693 (interesting info that may be close to what you are looking for).



          If you must use a macro, this site looked promising.






          share|improve this answer


























          • Could you expand your answer? Its a bit unclear exactly what your suggesting to do.

            – Simon Sheehan
            Jan 14 '12 at 20:36











          • Thanks for your response. I really do need to delve into the world of VBA. Time seems to be the biggest factor for me. What I know about Access I've had to teach myself through trial and error (no classes, no books...sigh). My biggest problem on this one is the deadline and I don't have time to learn VBA in time to meet the deadline. :-( Thanks for the links! Will definitely look into them and hopefully be able to put them to use!

            – Sherry
            Jan 17 '12 at 23:10














          0












          0








          0







          http://www.vbforums.com/showthread.php?t=376693 (interesting info that may be close to what you are looking for).



          If you must use a macro, this site looked promising.






          share|improve this answer















          http://www.vbforums.com/showthread.php?t=376693 (interesting info that may be close to what you are looking for).



          If you must use a macro, this site looked promising.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 25 '12 at 17:54









          soandos

          20.2k2892131




          20.2k2892131










          answered Jan 13 '12 at 23:24









          JeffJeff

          174213




          174213













          • Could you expand your answer? Its a bit unclear exactly what your suggesting to do.

            – Simon Sheehan
            Jan 14 '12 at 20:36











          • Thanks for your response. I really do need to delve into the world of VBA. Time seems to be the biggest factor for me. What I know about Access I've had to teach myself through trial and error (no classes, no books...sigh). My biggest problem on this one is the deadline and I don't have time to learn VBA in time to meet the deadline. :-( Thanks for the links! Will definitely look into them and hopefully be able to put them to use!

            – Sherry
            Jan 17 '12 at 23:10



















          • Could you expand your answer? Its a bit unclear exactly what your suggesting to do.

            – Simon Sheehan
            Jan 14 '12 at 20:36











          • Thanks for your response. I really do need to delve into the world of VBA. Time seems to be the biggest factor for me. What I know about Access I've had to teach myself through trial and error (no classes, no books...sigh). My biggest problem on this one is the deadline and I don't have time to learn VBA in time to meet the deadline. :-( Thanks for the links! Will definitely look into them and hopefully be able to put them to use!

            – Sherry
            Jan 17 '12 at 23:10

















          Could you expand your answer? Its a bit unclear exactly what your suggesting to do.

          – Simon Sheehan
          Jan 14 '12 at 20:36





          Could you expand your answer? Its a bit unclear exactly what your suggesting to do.

          – Simon Sheehan
          Jan 14 '12 at 20:36













          Thanks for your response. I really do need to delve into the world of VBA. Time seems to be the biggest factor for me. What I know about Access I've had to teach myself through trial and error (no classes, no books...sigh). My biggest problem on this one is the deadline and I don't have time to learn VBA in time to meet the deadline. :-( Thanks for the links! Will definitely look into them and hopefully be able to put them to use!

          – Sherry
          Jan 17 '12 at 23:10





          Thanks for your response. I really do need to delve into the world of VBA. Time seems to be the biggest factor for me. What I know about Access I've had to teach myself through trial and error (no classes, no books...sigh). My biggest problem on this one is the deadline and I don't have time to learn VBA in time to meet the deadline. :-( Thanks for the links! Will definitely look into them and hopefully be able to put them to use!

          – Sherry
          Jan 17 '12 at 23:10


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f378186%2fmicrosoft-access-macro-is-there-a-way-to-copy-records-with-a-macro%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix