Printing Members Of An Outlook Contact Group

User avatar
hlewton
GoldLounger
Posts: 2817
Joined: 24 Oct 2010, 23:39
Location: Canton, Ohio USA

Re: Printing Members Of An Outlook Contact Group

Post by hlewton »

OK, that did work and it put everything in line. I hope when I get a lot more contacts added and it is a 2 page print out it will still work like this.

Thank you all for your help.
Regards,
hlewton

User avatar
hlewton
GoldLounger
Posts: 2817
Joined: 24 Oct 2010, 23:39
Location: Canton, Ohio USA

Re: Printing Members Of An Outlook Contact Group

Post by hlewton »

HansV wrote:
17 Sep 2021, 20:16
No, please read more carefully. You need to set a reference to Microsoft Word 16.0 Object Library.
Yes, sorry. I did catch that and made the previous post before seeing this.
Regards,
hlewton

User avatar
hlewton
GoldLounger
Posts: 2817
Joined: 24 Oct 2010, 23:39
Location: Canton, Ohio USA

Re: Printing Members Of An Outlook Contact Group

Post by hlewton »

Leif wrote:
17 Sep 2021, 12:33
hlewton wrote:
16 Sep 2021, 23:58
So there are 2 columns that print. Some contacts left column and the right column print on the same line as it should.
Would it be resolved by setting your printer to print in landscape?

Otherwise, could you use this: How to Print a Contact Group in Only One Page in Your Outlook - Data Recovery Blog?
Leif thank you for that link. With Hans' help I got it working and it printed out just as it should have in the first place. Now all I have to do is remember about Alt+F8 to run the macro.
Regards,
hlewton

User avatar
hlewton
GoldLounger
Posts: 2817
Joined: 24 Oct 2010, 23:39
Location: Canton, Ohio USA

Re: Printing Members Of An Outlook Contact Group

Post by hlewton »

Well I have to ask another question after installing this module on all my computers. They all printed the contacts aligning the right and left column correctly. On my oldest, it is still running Microsoft 365, it printed out the contacts correctly only with a line spacing between each of them. The others did not leave a blank line spacing between contacts. Is there a reason this happens?
Regards,
hlewton

User avatar
HansV
Administrator
Posts: 72233
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Printing Members Of An Outlook Contact Group

Post by HansV »

The article describes how you can add a custom button to the Quick Access Toolbar that runs the macro. If you do that, you only have to click that button.
Regards,
Hans

User avatar
HansV
Administrator
Posts: 72233
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Printing Members Of An Outlook Contact Group

Post by HansV »

Check out what happens if you start Word on the oldest computer and enter a few paragraphs.
Do the same on one of the newer computers.
Is there a difference in line spacing?
Regards,
Hans

User avatar
hlewton
GoldLounger
Posts: 2817
Joined: 24 Oct 2010, 23:39
Location: Canton, Ohio USA

Re: Printing Members Of An Outlook Contact Group

Post by hlewton »

HansV wrote:
17 Sep 2021, 20:49
Check out what happens if you start Word on the oldest computer and enter a few paragraphs.
Do the same on one of the newer computers.
Is there a difference in line spacing?
Yep there is a difference. I checked the Paragraph spacing settings and the one that leaves a space is set to .8 after and the ones that do no leave a space are set to 0. Is there good default setting for that space that could have been discarded over the years I have used these machines?

I did see that about the quick access toolbar. I'll see if I can get it figured out.
Regards,
hlewton

User avatar
hlewton
GoldLounger
Posts: 2817
Joined: 24 Oct 2010, 23:39
Location: Canton, Ohio USA

Re: Printing Members Of An Outlook Contact Group

Post by hlewton »

As seen in the attachment I believe I have that button on the quick access toolbar. I also believe I followed all instructions and enabled all macros but it will not print out by pressing that button. What could I have done wrong.
Print.jpg
You do not have the required permissions to view the files attached to this post.
Regards,
hlewton

User avatar
HansV
Administrator
Posts: 72233
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Printing Members Of An Outlook Contact Group

Post by HansV »

Did you select a contact group before clicking the button?
Regards,
Hans

User avatar
HansV
Administrator
Posts: 72233
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Printing Members Of An Outlook Contact Group

Post by HansV »

hlewton wrote:
17 Sep 2021, 21:01
I checked the Paragraph spacing settings and the one that leaves a space is set to .8 after and the ones that do no leave a space are set to 0. Is there good default setting for that space that could have been discarded over the years I have used these machines?
If I remember correctly, the default setting when you install Word (Office) from scratch is 8 points space after. You may have changed this on the other computers.
Regards,
Hans

User avatar
hlewton
GoldLounger
Posts: 2817
Joined: 24 Oct 2010, 23:39
Location: Canton, Ohio USA

Re: Printing Members Of An Outlook Contact Group

Post by hlewton »

HansV wrote:
17 Sep 2021, 21:29
Did you select a contact group before clicking the button?
Yes I did. When I got into the Quick Access Toolbar I used the drop down arrow and chose Macros under the Choose commands from option. Then I placed the only macro that was there over on the Quick Access Toolbar. I then went to “Trust Center” > “Trust Center Settings” > “Macro Settings” to enable all macros. I then opened a contact group. It opened its own window. I had to move it aside to press that macro button you can see in the above attachment. And nothing happened.
Regards,
hlewton

User avatar
hlewton
GoldLounger
Posts: 2817
Joined: 24 Oct 2010, 23:39
Location: Canton, Ohio USA

Re: Printing Members Of An Outlook Contact Group

Post by hlewton »

OK, I now have a little more information. I tried running the macro as I did before using the Alt+F8 and it said the macro was disabled. See attachment.
Enabled.jpg
It won't even run when I set it back to how it was before I used the Trust Center.

Here is another attachment showing the error
Error Code.jpg
You do not have the required permissions to view the files attached to this post.
Regards,
hlewton

User avatar
hlewton
GoldLounger
Posts: 2817
Joined: 24 Oct 2010, 23:39
Location: Canton, Ohio USA

Re: Printing Members Of An Outlook Contact Group

Post by hlewton »

I just looked at one of my other computers. I looked at the macro settings in the trust center. I did not even touch it. I just wanted to see what it was set at because it had run the macro using the Alt + F8 when I created that module. Once I looked at the setting I canceled and closed the window. I got back to the contact group and tried to print it out again because I had set Word's paragraph spacing option to 8 points. Well it too bombed out saying the macro was disabled. I'm not touching other machines because I have no idea how to fix this. Apparently enabling all macros doesn't work.
Regards,
hlewton