I have a report that I can see in PrintPreview but it will not print or export to pdf word etc with a rendering issue.
It is a single page report split into 6 columns. I pull data to the top of each column only. The rest of all columns have 26 boxes (Rectangles)
In the detail format section I have code looping to format the boxes
First column boxes are widest
1. Me("Box" & intBoxNo).Width = 1800
subsequent column boxes are set by
2. Me("Box" & intBoxNo).Width = 1000
3. Me("Box" & intBoxNo).Left = 500
If I remove line 3. there is no issue
With line 3 I see it correctly in printpreview but it will not print or export. The error message is
"A Custom macro in this report has failed to run and is preventing the report from rendering"
(all to make it look nice??)
Any Suggestions please
It is a single page report split into 6 columns. I pull data to the top of each column only. The rest of all columns have 26 boxes (Rectangles)
In the detail format section I have code looping to format the boxes
First column boxes are widest
1. Me("Box" & intBoxNo).Width = 1800
subsequent column boxes are set by
2. Me("Box" & intBoxNo).Width = 1000
3. Me("Box" & intBoxNo).Left = 500
If I remove line 3. there is no issue
With line 3 I see it correctly in printpreview but it will not print or export. The error message is
"A Custom macro in this report has failed to run and is preventing the report from rendering"
(all to make it look nice??)
Any Suggestions please