Consulting

Results 1 to 7 of 7

Thread: Force Macro Help.

  1. #1
    VBAX Newbie
    Joined
    Nov 2008
    Posts
    4
    Location

    Force Macro Help.

    Hi, i search through google and found this

    vbaexpress.com/kb/getarticle.php?kb_id=379

    But the formula not allowed me to use the protect worksheet function, can anybody help. Many thanks.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,445
    Location
    Wouldn't yiu just amend the code to unprotect the sheet(s) at the start, and protect them again at the end?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Newbie
    Joined
    Nov 2008
    Posts
    4
    Location
    It still can't work that way, maybe is the invisible worksheet coz those problems. Anybody can help, i need to protect the worksheet and some more need to force the user to run in macro, is there any other way?

    Many thanks.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,445
    Location
    Tell us why it cannot work that way, seems reasonable to me.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Newbie
    Joined
    Nov 2008
    Posts
    4
    Location
    Quote Originally Posted by xld
    Tell us why it cannot work that way, seems reasonable to me.

    Sorry to make you confused, actually i'm newbie in VBA, i don't even know the code for the protect & unprotect the worksheet, i just use the excel function Tools-->Protection-->Protect Workbook, then the worksheet just can't work.

    Actually i don't want the other user to copy the worksheet to a new worksheet where they can amend the contents.

    Please enlightend me,

    Many thanks.

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,445
    Location
    Let's take a few steps back. What do you want your project to do?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  7. #7
    VBAX Newbie
    Joined
    Nov 2008
    Posts
    4
    Location
    Quote Originally Posted by xld
    Let's take a few steps back. What do you want your project to do?

    Hi, actually i share my file, but i need it to be 'read-only', the others user are not allowed to change the content or even copy the worksheet to the new excel file.

    But when i use the excel worksheet protection, the error message ask me the debugs it, where went wrong?

    Many thanks.

Posting Permissions

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