Print macro not working on Mac

Grub88

New Member
Joined
Feb 2, 2018
Messages
8
Hi all,
I've recently put together an excel doc on Windows with a 'print macro' that I've since discovered is not working for those who are accessing the document on a mac.
I have a handful of macro's that are used depending on which sheets need to be printed (there's a 'print friendly' version for each entry page that fits on 2pages and is black and white not all the pretty colourful stuff), but they are follow the same code
Code:
Sub Initial_Print()
' Initial_Print Macro
    
    Sheets("Initial Referral_Print").Visible = True
    Sheets("Initial Referral_Print").Select
    ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
        IgnorePrintAreas:=False
    Sheets("Initial Referral_Print").Visible = False
    Sheets("Initial Referral").Select
End Sub

Is there a way to make this work whether your using mac or windows?

Cheers,
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
What exactly do you mean when you say it doesn't work on a Mac? What happens?
 
Upvote 0
I'm not 100% sure as I don't have a Mac or anyone near me with one to try it. The feedback I've been given (as it's a form developed to be used across our region) is that it's a generic error message. I'm waiting to get further information as to what it is/if there is a code or number to go with it.
They are also unable to open PDF files that I have embedded using the 'insert object' pathway. There have been no issues for anyone else except those using Mac.
 
Upvote 0
If you have to develop something to work on a Mac and you don't have one available to test with, I wish you the best of luck. It's usually a painful process, even with the progress that has been made recently.
 
Upvote 0

Forum statistics

Threads
1,215,509
Messages
6,125,215
Members
449,215
Latest member
texmansru47

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top