Word and Excel to PDF: export habits that get files rejected by Malaysian portals
When an online system replies “invalid file” or “unable to process document”, the usual reaction is to try the same upload again and again. Frequently the portal is not the problem. The PDF came out of Word or Excel with unhelpful settings, and correcting the export takes less time than fighting the upload page.
Below are the typical causes, a short routine to run before converting, and the next steps if the system still turns your file away.
Typical causes
- Paper size not set to A4. Templates downloaded from the internet often default to Letter size. Once exported and printed or previewed on A4, margins get cut off or content moves. Some systems also expect A4 on every page.
- Huge pasted pictures. A company logo or signature inserted straight from a phone photo can make a single-page letter surprisingly heavy.
- Every sheet exported. Excel may include all tabs in the workbook, hidden calculation sheets and forgotten drafts included.
- Endless blank rows. A print area stretching far past your data can produce page after page of nothing.
- Passwords and restrictions. Certain upload systems refuse protected PDFs because they cannot open or read them.
- Markup left behind. Comments and tracked changes may be printed into the PDF if you do not clear them first.
Word: prepare before exporting
- Choose the paper size. In Layout, select A4 unless the recipient specifies otherwise, and make sure the margins look reasonable.
- Clear tracked changes. Accept or reject each one and delete any comments the reader should not see. Hiding markup in the view is not the same as removing it.
- Compress inserted pictures. Word’s picture options can reduce image resolution inside the document. A letterhead logo never needs full camera quality.
- Think about fonts. Less common fonts may be replaced on another computer. Saving as PDF normally embeds them, which is a good reason to send a PDF instead of the .docx.
Excel: prepare before exporting
- Define the print area on purpose. Highlight just the cells with data and set them as the print area. This one step solves most spreadsheets that spit out unexpected empty pages.
- Pick what gets exported. Export the active sheet or a selection, not the full workbook, unless every tab is genuinely needed.
- Scale with care. Wide tables can run over many pages. Landscape orientation or fitting all columns onto one page often helps, as long as the text stays legible.
- Clear out hidden extras. Remove unused sheets and leftover images that would only add weight.
Export, then inspect
With the source cleaned up, create the PDF using Office’s built-in export, Word to PDF or Excel to PDF. Then open the PDF itself rather than the original file and confirm that:
- The number of pages is right, without empty pages trailing at the end.
- Nothing important hugs the edge where it might be trimmed.
- Tables are whole and columns have not been split across pages.
- No comments, tracked changes or hidden sheets have sneaked in.
- The file opens without prompting for a password.
Still rejected?
Look at the file size next. Each portal sets its own limit, so read the upload guidance or FAQ on that particular site, whether it is MyTax, i-Akaun or a university application page. If you are over, run the file through Compress PDF and make sure the text is still sharp.
Make sure the file truly is a PDF. Renaming a .docx to .pdf leaves a Word document inside, and it will be refused. Keep the file name simple too: letters, numbers, hyphens and underscores are the safest choices.
If you added a password yourself, upload an unprotected copy instead. And where the agency, council or university provides its own form or template, fill in theirs rather than converting a version of your own. A neatly exported PDF in the wrong format can still be bounced back.
Easy-to-miss slips
- Exporting from an earlier draft because two file names look almost identical.
- Treating “Save as PDF” and “Print to PDF” as interchangeable, when links, page size and file size can differ between them.
- Uploading a PDF straight from an email preview without opening it first.
- Ignoring Excel’s print preview, which is the best indication of how the PDF will turn out.
Pre-upload checklist
- A4, or the size the recipient asks for, set before export.
- Tracked changes resolved and comments deleted.
- In Excel, a print area set and only the necessary sheets exported.
- Large pictures compressed inside the source file.
- PDF opened and checked for page count, edges and blank pages.
- Any password removed before uploading.
- The portal’s own size and format rules read and followed.