Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / August 2004



Tip: Looking for answers? Try searching our database.

Creating Print Buttons / Forms in MS word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Clint - 30 Aug 2004 16:41 GMT
HI,

I hope anyone can provide me with further help as I truly am a novice
Programmer :o(.

WD2000, VB6

1. I created a form and Locked it from editing.  People can only fill
out the appropriate fields.

2. I needed to add detailed instruction for each field.  So I've
decided to add simple MsgBox Functions. < --- Works fine.

3.  My Problem -
A) The First two pages of information should never be printed, So how
can I set up the default Print Range to be From page 3-21 or block
these pages from being printed? Either using a command button or any
other way possible!

B) I need to hide the command buttons so that they do not get printed.

* - I've looked for lengthy periods of time in many places with no
success.  Any Guidance is really appreciated.
Mike Williams - 30 Aug 2004 18:47 GMT
> 1. I created a form and Locked it from editing.  People can
> only fill out the appropriate fields. The First two pages of
> information should never be printed, So how can I set up the
> default Print Range to be From page 3-21 or block these
> pages from being printed? I [also] need to hide the command
> buttons so that they do not get printed.

Hang on. You've lost me now. The fact that you want to "hide" the command
buttons seems to suggest that you are dumping the Form to the printer as a
screen resolution bitmap graphic. The fact that you also say that you only
want to print pages 3 - 21 implies that you have 21 pages, or in other words
21 Forms, that you want to print? Or, alternatively, that you have one (or
more) very long scrollable "Forms"? Surely that is not the case? Please
explain your requirements in a little more detail, explaining *exactly* what
it is you want to print and *exactly* what your program does.

Mike
Clint - 31 Aug 2004 17:49 GMT
> Hang on. You've lost me now. The fact that you want to "hide" the command
> buttons seems to suggest that you are dumping the Form to the printer as a
[quoted text clipped - 6 lines]
>
> Mike

It is essentially a questionnaire w/ many instructions.

eg. a)1.2 |?| <- Command Button explaining what to fill in for 1.2  
   b)1.3 |?| <- Command Button explaining what to fill in for 1.3
etc.

* - I wish to hide the "?" when the form is going to be printed.  I've
seen where you can use a Text box w/ a button inside and hide all
using ActiveDocument.Shapes(x).Visible = False.

The following gives me my ranges added to the Print menu:

With Dialogs(wdDialogFilePrint)
       .Pages = "3-21"
End With
       
BUT it does not default the button to that section, it remains at
Page Range:
All instead of moving it to Ranges: 3-21

I'm just praying there is a more logical way to do these tasks.

Thanks for any help you can provide. :o)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.