+ Reply to Thread
Results 1 to 3 of 3

Improvement for office

  1. #1
    Robert Adams, from Argentina
    Guest

    Improvement for office

    I always work a lot with the same file. Excel and Word. Its possible to put a
    option that every time I save the file it includes a information about the
    file. It can be version, date, etc.

    Example

    I haves this file = cashflow.xls or .doc

    I want with and option to put information on the file that I save =

    cashflow-01.xls

    and so on

    cashflow-01.xls
    cashflow-02.xls
    cashflow-03.xls
    cashflow-03.xls

    Another Example

    I haves this file = cashflow.xls

    Every time I save the file I what to put info Example "date and version"

    cashflow-30-06-06-ver-1.xls
    cashflow-30-06-06-ver-2.xls
    cashflow-30-06-06-ver-3.xls
    cashflow-30-06-06-ver-4.xls

  2. #2
    Don Guillett
    Guest

    Re: Improvement for office

    try changing this to suit your needs. Place in the ThisWorkbook module by
    right click the excel icon just to the left of file on the bar.

    Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
    Boolean)
    With Sheets("sheet25")
    mlr = .Cells(Rows.Count, "b").End(xlUp).Row + 1
    Cells(mlr, "b") = ActiveWorkbook.Name
    End With
    End Sub

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "Robert Adams, from Argentina" <Robert Adams, from
    [email protected]> wrote in message
    news:[email protected]...
    >I always work a lot with the same file. Excel and Word. Its possible to put
    >a
    > option that every time I save the file it includes a information about the
    > file. It can be version, date, etc.
    >
    > Example
    >
    > I haves this file = cashflow.xls or .doc
    >
    > I want with and option to put information on the file that I save =
    >
    > cashflow-01.xls
    >
    > and so on
    >
    > cashflow-01.xls
    > cashflow-02.xls
    > cashflow-03.xls
    > cashflow-03.xls
    >
    > Another Example
    >
    > I haves this file = cashflow.xls
    >
    > Every time I save the file I what to put info Example "date and version"
    >
    > cashflow-30-06-06-ver-1.xls
    > cashflow-30-06-06-ver-2.xls
    > cashflow-30-06-06-ver-3.xls
    > cashflow-30-06-06-ver-4.xls




  3. #3
    Don Guillett
    Guest

    Re: Improvement for office

    add a dot before
    Cells(mlr, "b") = ActiveWorkbook.Name
    ..Cells(mlr, "b") = ActiveWorkbook.Name

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "Don Guillett" <[email protected]> wrote in message
    news:[email protected]...
    > try changing this to suit your needs. Place in the ThisWorkbook module by
    > right click the excel icon just to the left of file on the bar.
    >
    > Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
    > Boolean)
    > With Sheets("sheet25")
    > mlr = .Cells(Rows.Count, "b").End(xlUp).Row + 1
    > Cells(mlr, "b") = ActiveWorkbook.Name
    > End With
    > End Sub
    >
    > --
    > Don Guillett
    > SalesAid Software
    > [email protected]
    > "Robert Adams, from Argentina" <Robert Adams, from
    > [email protected]> wrote in message
    > news:[email protected]...
    >>I always work a lot with the same file. Excel and Word. Its possible to
    >>put a
    >> option that every time I save the file it includes a information about
    >> the
    >> file. It can be version, date, etc.
    >>
    >> Example
    >>
    >> I haves this file = cashflow.xls or .doc
    >>
    >> I want with and option to put information on the file that I save =
    >>
    >> cashflow-01.xls
    >>
    >> and so on
    >>
    >> cashflow-01.xls
    >> cashflow-02.xls
    >> cashflow-03.xls
    >> cashflow-03.xls
    >>
    >> Another Example
    >>
    >> I haves this file = cashflow.xls
    >>
    >> Every time I save the file I what to put info Example "date and version"
    >>
    >> cashflow-30-06-06-ver-1.xls
    >> cashflow-30-06-06-ver-2.xls
    >> cashflow-30-06-06-ver-3.xls
    >> cashflow-30-06-06-ver-4.xls

    >
    >




+ 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