+ Reply to Thread
Results 1 to 3 of 3

Print increment by 1

  1. #1
    Paul D
    Guest

    Print increment by 1

    Is there a way to have a field in a worksheet to increment by one, every
    time I print?
    Thanks
    Paul



  2. #2
    Ron de Bruin
    Guest

    Re: Print increment by 1

    Hi Paul

    See
    http://www.rondebruin.nl/print.htm#number



    --
    Regards Ron de Bruin
    http://www.rondebruin.nl



    "Paul D" <[email protected]> wrote in message news:[email protected]...
    > Is there a way to have a field in a worksheet to increment by one, every
    > time I print?
    > Thanks
    > Paul
    >
    >




  3. #3
    Ron de Bruin
    Guest

    Re: Print increment by 1

    Or if you want not the print the pages in one time.
    Use the beforeprint event

    Private Sub Workbook_BeforePrint(Cancel As Boolean)
    If ActiveSheet.Name = "Sheet1" Then
    Cancel = True
    Application.EnableEvents = False
    Application.ScreenUpdating = False
    With ActiveSheet.Range("a1")
    .Value = .Value + 1
    .PrintOut
    End With
    Application.EnableEvents = True
    Application.ScreenUpdating = True
    End If
    End Sub




    --
    Regards Ron de Bruin
    http://www.rondebruin.nl



    "Ron de Bruin" <[email protected]> wrote in message news:eyoxYm%23%[email protected]...
    > Hi Paul
    >
    > See
    > http://www.rondebruin.nl/print.htm#number
    >
    >
    >
    > --
    > Regards Ron de Bruin
    > http://www.rondebruin.nl
    >
    >
    >
    > "Paul D" <[email protected]> wrote in message news:[email protected]...
    >> Is there a way to have a field in a worksheet to increment by one, every
    >> time I print?
    >> Thanks
    >> Paul
    >>
    >>

    >
    >




+ 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