#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Access

How I can change, give and reset password and give access to users by
VBA for the win2000
For example, I have Data base in the Access wit Users and I can give
and change autorize to sth in the Windows 2000
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Access

hi,
window 2000 is an operation system not an application.
are we talking about excel? granting permissons like
access?
no
you can password protect an excel file.
On the File menu, click Save As.
On the Tools menu, click General Options.
In the Password to open box, type a password, and then
click OK.
Passwords are case sensitive. Type the password exactly as
you want users to enter it, including uppercase and
lowercase letters.
In the Reenter password to proceed box, type the password
again, and then click OK.
Click Save.
If prompted, click Yes to replace the existing workbook
with the open workbook.

-----Original Message-----
How I can change, give and reset password and give access

to users by
VBA for the win2000
For example, I have Data base in the Access wit Users and

I can give
and change autorize to sth in the Windows 2000
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default Access

If your asking ..."you can use an Access database to
authorize users trying to access your spreadsheet", yes
you can. You can query an Access DB using DAO methods. I
have done a fair amount with this in Access, but not Excel
so I am not sure what all you would have to do. Search
Help using the keyword SQL.

To check for an authorized user, popup an Input box then
after the user enters the password, query the database and
then compare the users entry against what the query brings
back.

Hope that helps!

Kevin
-----Original Message-----
How I can change, give and reset password and give access

to users by
VBA for the win2000
For example, I have Data base in the Access wit Users and

I can give
and change autorize to sth in the Windows 2000
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 593
Default Access

"Kevin" wrote ...

If your asking ..."you can use an Access database to
authorize users trying to access your spreadsheet", yes
you can. You can query an Access DB using DAO methods.


Using ADO and the OLEDB 4.0 provider for JET in Excel VBA code, one
can execute DDL sql relating to security: groups, users, passwords.
See:

http://msdn.microsoft.com/library/de...l/acadvsql.asp

Jamie.

--
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
Query from Access into Excel cause Access to go to read only T Stephens Excel Discussion (Misc queries) 0 March 24th 09 04:17 PM
Can Excel access data from Access?! Al Excel Discussion (Misc queries) 5 April 5th 08 03:52 PM
Access Form In An Access Report (SubForm) Question Gary Links and Linking in Excel 0 January 27th 06 05:54 AM
export access to excel. change access & update excel at same time fastcar Excel Discussion (Misc queries) 0 June 24th 05 09:27 PM
How to access ACCESS from Excel! Gordon Cartwright[_2_] Excel Programming 3 November 8th 03 11:50 AM


All times are GMT +1. The time now is 12:42 PM.

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"