If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > getPasswordFromUser Input password in private procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-17-03, 09:26
edouardl edouardl is offline
Registered User
 
Join Date: Aug 2001
Posts: 6
getPasswordFromUser Input password in private procedure

Hi,

Problem on Excel with VB

In a manual procedure under VB, I start by unprotecting a worksheet in order to write data in Excel under the procedure and at the end of the procedure I protect the same worksheet.

BUT, this is not enough.

I would like to fill automatically the box generated by the function getPasswordFromUser .

The aim is to for the users of the Excel Workbook not to be able to unprotect the worksheet without password.

Is there any way to mention the password in the VB procedure?

Thanks and best regards,

Ed
Reply With Quote
  #2 (permalink)  
Old 11-17-03, 15:30
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
You can use the SaveAs method to enable a password
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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