+ Reply to Thread
Results 1 to 4 of 4

Creating Access tables with table names from excel cells

  1. #1
    Registered User
    Join Date
    08-01-2013
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    5

    Creating Access tables with table names from excel cells

    Hi,

    I want to create Access tables with table names taken from a range of cells in excel.
    I am not using the VBA variable in SQL statement correctly. Please see the FOR NEXT construct in the code below
    I tried this but doesn't work

    Please Login or Register  to view this content.
    Last edited by alansidman; 01-18-2016 at 07:00 PM. Reason: code tags added

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Creating Access tables with table names from excel cells

    I think your string is incorrect. You want something like:
    Please Login or Register  to view this content.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

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

    Re: Creating Access tables with table names from excel cells

    Code Tags Added
    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 at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply 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

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

    Re: Creating Access tables with table names from excel cells

    crossposted: http://www.mrexcel.com/forum/microsoft-access/

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

+ 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. Excel 2010 userform to access and edit the data in MS ACCESS DB tables
    By anand_y59 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2012, 07:46 AM
  2. How to get table names from access to free text?
    By Baker in forum Access Programming / VBA / Macros
    Replies: 0
    Last Post: 03-15-2012, 08:10 PM
  3. [SOLVED] SQL in Access won't allow Multiple Tables using Create Table
    By danny2000 in forum Access Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2009, 04:36 AM
  4. Obtain Access Table Names via Excel
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-21-2008, 04:02 AM
  5. Retreiving list of table & field names from Access into Excel using VBA
    By shivboy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-15-2006, 03:09 AM
  6. [SOLVED] Excel Spreadsheet from Access. List of names changes as names are
    By Gordy w/Hi Expectations in forum Excel General
    Replies: 1
    Last Post: 10-20-2005, 11:05 PM
  7. Get names from Access table
    By Tempy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2005, 12:06 PM
  8. [SOLVED] Creating an access table with ADO
    By JJ in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-10-2005, 06:06 AM

Tags for this Thread

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