Closed Thread
Results 1 to 2 of 2

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) problem

  1. #1
    Forum Contributor
    Join Date
    01-05-2009
    Location
    South Dakota, USA
    MS-Off Ver
    2003, and 2007
    Posts
    150

    Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) problem

    I am trying to figure out why one code which works in a workbook would not work in another workbook. The only difference is range locations.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    the first code works fine but the second one hangs up when it trys to clear the cell with the password in it.

    The only difference is that the word "Save" in the second code is capitalized but that is only because I have a code running that has everything in proper case.

    Thanks in advance for your help.

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,637

    Re: Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) pro

    Please take a few minutes to re-read the forum rules, and then start a new thread with a descriptive title rather than an event signature.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

Closed 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