Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-03-2025, 05:01 AM
Joshua Watson Joshua Watson is offline Macropod's catalogue mailmerge tutorial on MacOS Mac OS X Macropod's catalogue mailmerge tutorial on MacOS Office 2021
Novice
Macropod's catalogue mailmerge tutorial on MacOS
 
Join Date: May 2025
Posts: 2
Joshua Watson is on a distinguished road
Default Macropod's catalogue mailmerge tutorial on MacOS

Hi everyone,



Has anybody had any experience with using the last macro in Macropod's catalogue mailmerge tutorial running on Mac OS Sonoma or later and Word Version 16.97.2?

I have successfully worked through the whole tutorial on my machine, but the final macro stops at:

" .SaveAs FileName:=StrDoc, AddToRecentFiles:=False, FileFormat:=wdFormatDocument"

Ending the process at that point, leaves a "catalogue" file with table rows not yet joined but sorted into groups, and not yet split into their respective documents.

After resetting word and redownloading the mailmerge tutorial files to start from scratch many times, trying different file formats (doc. docm.) I am beginning to think it may be my machine that's not compatible with this final macro.

I should mention that I am completely new to using mailmerge, not to mention VBA.

Any assistance with this would be greatly appreciated. This final mail merge macro would make my style of invoicing so much easier.

Josh
Reply With Quote
  #2  
Old 06-03-2025, 03:44 PM
macropod's Avatar
macropod macropod is offline Macropod's catalogue mailmerge tutorial on MacOS Windows 10 Macropod's catalogue mailmerge tutorial on MacOS Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,363
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

That code is written for PCs. I don't know how well it would work on a Mac. In any event, the DATABASE field approach discussed on the Microsoft Word Catalogue/Directory Mailmerge Tutorial page (https://www.msofficeforums.com/mail-...-tutorial.html) would seem to be a better approach. It works with emails and, provided your data source is set up appropriately, doesn't need a macro to tabulate the data. The only thing it doesn't do 'out of the box' is tally the columns, but a macro could be used to deal with that.

For some more DATABASE field examples, see:
MS Answers : Mail Merge - To a Word Table on a Single Page
MS Answers : Many to one email merge using tables
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 06-05-2025, 06:22 PM
Joshua Watson Joshua Watson is offline Macropod's catalogue mailmerge tutorial on MacOS Mac OS X Macropod's catalogue mailmerge tutorial on MacOS Office 2021
Novice
Macropod's catalogue mailmerge tutorial on MacOS
 
Join Date: May 2025
Posts: 2
Joshua Watson is on a distinguished road
Default

Thanks for clarifying that.
It seems the database approach also doesn't work on Mac. I suppose any code with file paths or filenames won't run on mac.
I'm going to try to install a virtualizer on my Mac to run windows. Thinking of FusionVM because it's free but I'm having registration issues. Once that's sorted I'll give those mailmerge macros another go.

Josh
Reply With Quote
  #4  
Old Yesterday, 12:11 AM
macropod's Avatar
macropod macropod is offline Macropod's catalogue mailmerge tutorial on MacOS Windows 10 Macropod's catalogue mailmerge tutorial on MacOS Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,363
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Joshua Watson View Post
It seems the database approach also doesn't work on Mac. I suppose any code with file paths or filenames won't run on mac.
AFAIK DATABASE fields do work on Macs. As do macros with file paths & names; the 'gotcha' is that you need to have the right syntax. For example, the folder separator on a Mac is ':' rather than '\'. Fields with file paths & names don't require such things to be taken into consideration. The solution with the macro you're having trouble with may be as simple as changing:
"\EmailDataSource.doc"
to:
":EmailDataSource.doc"
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
mail merge mac os



Similar Threads
Thread Thread Starter Forum Replies Last Post
macOS Digital signature in excel ki_ha1984 Excel 0 10-05-2019 05:31 AM
Macropod's catalogue mailmerge tutorial on MacOS Mailmerge line graphs with Macropod's demo gnoles Mail Merge 1 08-30-2019 07:25 AM
Macropod's catalogue mailmerge tutorial on MacOS Default Microsoft Word Catalogue/Directory Mailmerge Tutorial oshngzr Mail Merge 2 07-06-2018 03:21 PM
Macropod's catalogue mailmerge tutorial on MacOS Microsoft Word Catalogue/Directory Mailmerge Tutorial macropod Mail Merge 0 04-08-2018 05:02 PM
Run Time Error '91': Object variable or With block variable not set using Catalogue Mailmerge Berryblue Mail Merge 1 11-13-2014 05:36 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:37 PM.


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