Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default customise button(macro) on toolbar / workbook protection

dear all,
1)
is there a way for button to appear on toolbar only when user provide
password? i got 1 button on worksheet whereby if user enter correct
password then button will be shown on toolbar.
can?

2)
i have the following statement in my script and they work nicely. but
i do not understand why under tools menu, protection, unprotect
workbook not ask for password to unprotect. i scared later on user
will find out this.

ActiveWorkbook.Protect Structu=True, Windows:=False
ActiveWorkbook.Unprotect
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default customise button(macro) on toolbar / workbook protection

tango

ActiveWorkbook.Protect "Your Password",Structu=True, Windows:=False
ActiveWorkbook.Unprotect "Your Password"

Neil

"tango" wrote in message
m...
dear all,
1)
is there a way for button to appear on toolbar only when user provide
password? i got 1 button on worksheet whereby if user enter correct
password then button will be shown on toolbar.
can?

2)
i have the following statement in my script and they work nicely. but
i do not understand why under tools menu, protection, unprotect
workbook not ask for password to unprotect. i scared later on user
will find out this.

ActiveWorkbook.Protect Structu=True, Windows:=False
ActiveWorkbook.Unprotect



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro button on toolbar Daniel Charts and Charting in Excel 0 August 27th 07 08:56 PM
How do I customise quick access toolbar button images in Excel 200 Andie Excel Discussion (Misc queries) 1 August 25th 07 12:08 PM
Customise the summation function / button Mr. Low Excel Worksheet Functions 0 June 12th 06 04:11 PM
how can I customise a toolbar with a tag that holds macros Drewb Charts and Charting in Excel 0 June 5th 06 04:30 PM
Macro Toolbar Button Gary Excel Programming 1 September 29th 04 01:35 PM


All times are GMT +1. The time now is 06:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"