Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-03-2017, 12:03 PM
Kokiri Kokiri is offline Mail Merge: Converting Text to Table Windows 8 Mail Merge: Converting Text to Table Office 2016
Novice
Mail Merge: Converting Text to Table
 
Join Date: Apr 2017
Posts: 4
Kokiri is on a distinguished road
Default Mail Merge: Converting Text to Table

Hello!

I am trying to set up a mail merge from a database. I wasn't sure whether to post here or in the macro thread, but I opted for here because maybe a macro isn't the best way to accomplish what I need. I read a lot of Macropod's responses on various websites, and he has helped me with some other problems I was facing.

But in this case, I have a field pulled from a database that looks roughly like this.

^Total^Fall^Spring
Award 1^$2,000
Award 2-Award^$1,000


Award 3 etc.^$500

I then made a macro that pulls apart this field and formats it as a table without borders. (Minus the underscores)
____________________Total_______Fall_______Spring
Award 1_____________$2,000_____$1000.00___$1000.00
Award 2-Award_______$1,000_____$500.00____$500.00
Award 3 etc._________$500_______$250.00____$250.00
Total_______________$3500.00____$1750.00___$1750.0 0

All of this works great. The problem is, that when the mail merge field is unlinked, it overwrites all records with the first record's data. So all of the letters besides the first will display incorrect information. I'm leaning towards a table if possible, because as you can see, my macro performs some calculations with this data. It will be easiest to access in a table.

Is there any way to convert the text of the field to a table without unlinking it?
Or, is there a better way to process this issue?

Thanks in advance.
Reply With Quote
 

Tags
macro, mail merge, table



Similar Threads
Thread Thread Starter Forum Replies Last Post
Losing table alt text when converting to PDF purpledwarf Word 0 01-11-2017 03:23 PM
Mail Merge problem when converting to PDF roflzor Mail Merge 7 09-30-2013 06:50 AM
converting a word document to a data file for mail merge drsuis Mail Merge 4 02-21-2013 03:34 PM
Mail Merge: Converting Text to Table mail merge with table nadja Mail Merge 5 03-06-2012 05:41 PM
Mail Merge: Converting Text to Table Converting data-table into coding text niuri_cigarete Excel 2 12-10-2011 02:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft