+ Reply to Thread
Results 1 to 6 of 6

VBA Code to automatically save work Item

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    cardiff
    MS-Off Ver
    Excel 2003
    Posts
    51

    VBA Code to automatically save work Item

    Hi

    Does anyone have a code I can add to my User Form that when they click the button to add item
    it automatically saves the workbook.

    As I have a shared wookbook where other members of the team add completed items but if they forget to save the workbook
    and when they then log out and it asks to save the workbook

    Another staff member may have added items to that row and thus a message comes up do you want to save your item or the item already in that row

    This could then overwrite what is already in that row.

    Thanks

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: VBA Code to automatically save work Item

    Janto724,

    If you could upload a sample WorkBook, it could make it much easier for us to help you.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    04-24-2013
    Location
    cardiff
    MS-Off Ver
    Excel 2003
    Posts
    51

    Thumbs up Re: VBA Code to automatically save work Item

    Hi Winon

    Thanks for the reply

    I am new to VBA coding so this is my first attempt at writing the code and creating user forms

    So any help and advice would much appriecated
    Attached Files Attached Files

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: VBA Code to automatically save work Item

    Hello Janto724,

    Thank you for the feedback.

    Maybe something as per the attached?
    Attached Files Attached Files
    Last edited by Winon; 06-25-2013 at 05:38 AM. Reason: Spelling :(

  5. #5
    Registered User
    Join Date
    04-24-2013
    Location
    cardiff
    MS-Off Ver
    Excel 2003
    Posts
    51

    Re: VBA Code to automatically save work Item

    Hi Winon

    That is great works okay

    Am I able to amend the code to hide Completed work tab as this will then not allow users to overwrite on this workbook.

    Many Thanks again for your help

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: VBA Code to automatically save work Item

    Hello Janto724,

    Am I able to amend the code to hide Completed work tab
    Yes, sure. See the attached amended WorkBook.
    Attached Files Attached Files

+ 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