+ Reply to Thread
Results 1 to 3 of 3

From Excel run make table query in Access and show msgbox

  1. #1
    Registered User
    Join Date
    08-13-2009
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    20

    From Excel run make table query in Access and show msgbox

    I have an Access database which has the following query "q_tblUdtraek2". When I run the query from Excel it create a new table in Access called "tblUdtraek". It works in Excel so when I run a vba sub I create the table in Access.
    Now I wants a msgbox to popup when the query is finished that says something like "You have created a table with x number of rows". How to do it?

    ------

    Please Login or Register  to view this content.
    Thanks in advance.
    Last edited by alansidman; 09-26-2013 at 10:20 AM. Reason: Added Code Tags

  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,905

    Re: From Excel run make table query in Access and show msgbox

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (I have added the code tags for you. Please adhere to our forum rules in the future.)
    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

  3. #3
    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,905

    Re: From Excel run make table query in Access and show msgbox

    Please Login or Register  to view this content.

+ 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. Run "Make Table" Query in Access from Excel VBA
    By NickOn in forum Access Tables & Databases
    Replies: 7
    Last Post: 05-31-2012, 12:58 AM
  2. Fire Access Make-Table Query from Excel
    By afiack in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2007, 07:43 PM
  3. Make a MsgBox show the value of a cell in a closed workbook
    By johncassell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-16-2006, 10:52 AM
  4. VBA - query an Access table -> results in Excel
    By rirus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2006, 02:35 PM
  5. [SOLVED] Run Make table query from Excel
    By RW in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2006, 01:40 PM

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