+ Reply to Thread
Results 1 to 3 of 3

add protection dialog box to macro in user form

  1. #1
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255

    add protection dialog box to macro in user form

    I want to use the inbuilt xldialogProtectDocument dialog box to set worksheet protection from a user form.
    I am unsure of the code syntax to get this to work

    i tried -
    application.xldialogProtectDocument.show
    but i get a runtime error.

    Can someone to help me with this please.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello wotadude,

    Here is the syntax...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255
    thanks for your help Leith, i was close

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Best way to fill user form fields
    By evanzo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-23-2008, 09:41 PM
  2. User Form button
    By lapot in forum Excel General
    Replies: 0
    Last Post: 06-07-2007, 06:06 AM
  3. UDF in User Form
    By vandanavai in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2007, 12:09 PM
  4. Date Format problem in User Form
    By vandanavai in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-27-2006, 11:07 PM
  5. Date Time Picker in User Form
    By matpj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2006, 01:07 PM

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