Results 1 to 6 of 6
  1. #1
    sinisterfrog is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2018
    Posts
    23

    Exporting a query into WordArt

    I need to laser engrave on the outside of a 1 inch round piece of glass.

    Is there a way to export a query into word/excel and then have the data be added to word art?

    We have been doing this manually which is awful.

    Any help would be appreciated.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    a single line?
    many records?

  3. #3
    sinisterfrog is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2018
    Posts
    23
    It would be a list, 2 fields and no more than 15 records.

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,397
    I presume you are exporting a single phrase like 'Winner 2018'?

    I don't want to get involved with the detail and I don't know about Word, but in Access VBA to create wordart in Excel, do the following:

    1. create an excel object
    2. create a new excel file
    3. use code to create the wordart shape, fonts, styles etc (the code required can be determined by recording a macro in Excel to create your wordart object)
    4. use code to populate the shape with the required text.
    5. save the excel file

    Note this is not an 'export' as such, merely creating something in Excel. Also, if you activate the excel library you will get intellisense which should make it easier to convert the code. You might want to make a note of the values used to create your wordart and store these as profiles in an Access table

    A simpler alternative would be to create your wordart in an excel file and save it, then use access vba code to open the file and just populate the wordart text.

  5. #5
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,397
    Ah a later post. Principle would be the same, but you would loop through the list

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    For example code manipulating WordArt objects review https://technet.microsoft.com/en-us/.../ee692903.aspx

    Should be possible with Word automation.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Exporting a Query into Excel
    By ortizimo in forum Access
    Replies: 3
    Last Post: 08-30-2017, 09:47 AM
  2. Query contents are deleted after exporting the query results
    By alfcee in forum Import/Export Data
    Replies: 6
    Last Post: 11-13-2012, 09:35 AM
  3. Replies: 5
    Last Post: 12-19-2011, 06:11 AM
  4. Exporting a Query to Excel
    By tcheck in forum Access
    Replies: 3
    Last Post: 07-22-2011, 05:00 PM
  5. Exporting a query to HTML
    By Remster in forum Access
    Replies: 8
    Last Post: 09-10-2010, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums