Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Page Count or Something Similar?

Status
Not open for further replies.

Manged

Programmer
Jun 30, 2010
4
0
0
US
Is there any way to count the number of pages in an Access 2007 report in VBA? All i want to do is keep the user from printing the report if it is more than 1 page. Or, something like .GoToPage 2 for a report would work as long as it gives an error if there isnt a second page.
 
dilettante,

This forum is called "Visual Basic(Microsoft): Version 5 & 6 Forum"

Now, go to the Visual Basic Editor in MS Word for example, and go to Help > About. In Word 2003 anyway, it says "Microsoft Visual Basic 5.6"

This is a big part of the problem.
 
And at the bottomn of that same dialog, it tells you that it is VBA ...
 



Really, this is MS Access VBA forum705.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
strongm,

It sure does, but Microsoft sticking that in at the bottom doesn't really clear it up much (IMO), especially if you are fairly new to it, and only have familiarity with VBA and not VB.

Of course, those who use both VB and VBA and still don't understand the difference... [thumbsdown]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top