+ Reply to Thread
Results 1 to 2 of 2

VBA Print code?????

  1. #1
    Registered User
    Join Date
    01-09-2004
    Location
    Yorkshire
    Posts
    69

    VBA Print code?????

    Can anybody give me the VBA code for a command button that will print the active worksheet and also give the user the option to select how many.

  2. #2
    Duke Carey
    Guest

    RE: VBA Print code?????

    very simplistic

    Dim i As Integer

    i = InputBox("How many copies")
    ActiveSheet.PrintOut copies:=i


    "Chris Watson" wrote:

    >
    > Can anybody give me the VBA code for a command button that will print
    > the active worksheet and also give the user the option to select how
    > many.
    >
    >
    > --
    > Chris Watson
    > ------------------------------------------------------------------------
    > Chris Watson's Profile: http://www.excelforum.com/member.php...fo&userid=4700
    > View this thread: http://www.excelforum.com/showthread...hreadid=525646
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1