Expiry Date With Password

Nov 25, 2008

Ive been trying to do this for ages now, but decided i need further help!
Im fairly new to VB but getting the hang of it, however this one gets passed me.

I have made a spreadsheet that works out figures and conversion rates and stuff, however i would like it to expire with the option of a password lets say for example after 30 days, this will effectivly dissable, or close the spreadsheet down until a password is put in, then it will all come back to life.

ive been trying to think of a way round this now for days, but headache after headache i still cant get it to work. The formula doesnt have to be that secure, as the people using it im certain would never even look for it untill its too late!

View 9 Replies


ADVERTISEMENT

Password Protect W/ Expiry

Jun 18, 2006

We are making a complex financial calculator that we will let licensees use for a limited time.

The calculator could be an online php form, however we decided to go with excel for its ease to program the code required.

Question is:

Since the licensees are allowed to use the calculator only for a short period of time, we want to be able to password protect it with an expiry date.

Meaning that if they want to use it pass their time limit, they would need to re-enter a new password that we would provide them.

Is there such an application made for excel worksheet?

View 5 Replies View Related

Expiry Date

Mar 4, 2009

I want to set up a spread sheet that has an expirty date of 30 days and once reached the spread sheet can no longer be read.

View 11 Replies View Related

Set Expiry Date To Macro?

Feb 26, 2014

I am using excel and when workbook open i call for a macro to start running--(this works no problems), so what i am trying to achieve is when i execute that macro to run, i need to set an expiry date for 6 days later. here is the code below what i am trying to do is run 52 web refresh querys, 1 every week but have to ensure the macro before has ended before the next one starts
workbook (open)

VB:
Application.OnTime Now() + TimeValue("00:01:05"), "RefreshWebQuery_Data" Module1
Sub RefreshWebQuery_Data()
'
' Macro3 Macro

[Code].....

View 1 Replies View Related

Showing The Expiry Date

Sep 22, 2008

I have a file that has start date column. I'd like to show the account's expiration date on another cell but it's going to be dependent on another column.

Say
Column A - customers name
Column B - start date
Column C - rate
Column D - End date
Column E - Follow up Date

Rate column will have the ff inputs :
rate 1 = .09
rate 2 = .11

If rate is .09, then end date will be 2 years from the start date
If rate is .11, then end date will be 3 years from the start date

There are several things I need to happen :
1. Show the customer's individual end dates in Column D
2. I'd like to show in column E the follow up date which is 90 days before the end date

View 2 Replies View Related

Getting Expiry Date From Active Directory

Jun 6, 2013

The following code uses the GetAdsProp formula to get the user info properties from the Active Directory.

I am able to get the Firstname,Last name. But not able to get the data for the expiryDate.

[Code] ..........

View 1 Replies View Related

Email To Notify Expiry Date

Sep 9, 2008

way to be able to send an email notification 30 days before the contract expires.

I have attached a sample list. Is there anyway of doing this using a macro or through VBA?

View 12 Replies View Related

To Match Whichever First Expiry Date

Jan 18, 2012

Selection Date18/01/2012ItemPPPrice70.00

View 3 Replies View Related

How To Do Automatic Sort By Expiry Date

Jun 17, 2014

Column A = Product code
Column E = Expiry Date

How to make macro code automatic sort by expiry date (oldest to newest) then product code (A to Z)

After i put new item in product code & the expiry date...

I like to auto sort every time i put new item in next row.. and the result will be ber25 1/20/2015 will be on top of ber25 1/21/2015

Code
Description
Beginning
U/M
Expiry Date

Act10
Activo 10K
1
Bag
1/20/2015

[Code] ..........

View 1 Replies View Related

Deleting Rows Based On Expiry Date

Nov 19, 2008

I have a worksheet. Column A contains employee name, column B contains the date of the first day of the week's holidays they are booked for, i.e. 06/12/08 means they start their holiday for one week starting 06/12/08. That's probably really obvious, sorry.

Once a week I update the vacation list. I want to write a VBA code that looks at the date in Column B and deletes the entire row if it has occured. I'd like to use a value in C1 as the reference so if that cell has 06/15/08 in it then the code would delete every row where the date is prior to 06/15/08.

View 9 Replies View Related

Conditional Formatting To Highlight 2 Days Before The Expiry Date

Sep 4, 2009

I have a list of items which are supplied by 3 persons and these items have expiry date. I want the Conditional Formatting to highlight 2 days before its expiry date. I have managed to set only for dave, how do I set for the other two persons? FYI, each item is only supplied by one person.

View 7 Replies View Related

Excel 2007 :: How To Write Macro For Set Expiry Date For File

Feb 26, 2014

How to Write a Macro for set a expiry date for Excel 2007 File.

View 3 Replies View Related

Date Expire And Password Reset

Apr 30, 2007

I have an excel file with several worksheets and 1000's of lines of data.

Protection is already given courtesy of having to enable macros or sheets are hidden, and copying of data is not possible. It is however unfortunately possible to copy the excel file, therefore I would like to have code to to render the file inoperative if a date elapses. In addition since the file is password protected (as regards alterations - read only for others), I would like the clock to increment for example 7 days further every time the correct password is entered. In other words if the time period elapses simply entering the password will reset the clock and permit all users access for another week once the file is saved..

View 5 Replies View Related

Flagging Expiry Dates

Aug 22, 2007

I have a list of expiry dates in excel, to save me manually looking through the list to spot up-coming expiry dates, is there a way excel can flag them for me i.e.: giving me 2 months notice of an expiry date? Someone even told me you can get excel to generate an email, not sure if this is true.

View 9 Replies View Related

Calculate Time Before Expiry

Feb 18, 2008

I am trying to make an Excel formula to calculate the number of hours and minutes remaining before an entry expires. I am using the formula below

=B1-$A$1
No need for code tags on formulae

where B1= a due time of an item/task and A1= =now()

It should display the hours and minutes until the task is due but it is giving incorrect results.

E.G
now = 9:03
task is due = 12:00
result = -21:03

View 9 Replies View Related

Making Flags/reminders/expiry

Jun 12, 2009

I want to track the dates we begin working with them, and after a certain timeframe (12 months from the start date, for example) I would like a little "flag" (change the font colour, highlight the cell, etc) to automatically appear to indicate when each client has reached this milestone.

View 2 Replies View Related

Conditional Formatting For Expiry Dates?

Jul 30, 2013

I have a training sheet where the training could expire in either 1 2 or 3 years, i am trying to get the conditional formatting for each to change color when the training is due to expire in 6 months 3 months and 1 month also to show red when expired

View 14 Replies View Related

Automatic Email On Expiry Dates

May 29, 2009

I have an excel sheet which contains user details and date of expiry of a particular service. I would like to send an email to user when the date of expiry is met.

View 14 Replies View Related

Extracting Records Based On Expiry Dates

Jan 12, 2010

I have created a database at work which collates various information on the sale of products. Part of this information is the date that each particular product is up for review (In DD,MM,YYY) format. Using the internal clock function I have produced a formula that calculates the numeber of days until expiry.

However, using this information I want to be able to run a macro that looks at accounts that have for instance 5 days left until expiary and populate a new worksheet with various information extracted from my 'main' database. For example, search all the porducts that are due to expire tomorrow and then populate my new workseet with data from cells such as

Product 1 = Cell A1, Cell a2, Cell a6, Cell a7,
Prodcut 2 = a1, a2, a6, a7,
Product 39 = a1, a2, a6, a7

View 2 Replies View Related

Change Cell Colour Based On Expiry Dates

Nov 13, 2013

I am trying to change the colour of a cell based on the expiry date. I know I need to use conditional formatting but Im having trouble.

Colomn E from row 5 to 1200 have dates in them from as far back as 08/2013. I need to change the cells so they turn yellow after 28 days and red after 45.

E.g. 1. E953 has a date 07/09/2013, I need it to change colour as above, 28 days and 45 days.
2. E961 has a date 04/10/2013, I need it to change as above, 28 days and 45 days.

Can I formulate the entire E column so when I put a date in, the formula will automatically start.

All the other formula's I've seen involve starting from "today" or "now" .

View 9 Replies View Related

Create Functional Dropdown Menu To Update Expiry Dates?

Jan 13, 2013

I am creating a very simple spreadsheet to manage my gym memberships. It basically has membership number, first name, last name, membership type (drop down box) start date and expiry date. I have put in conditional formatting so that the expiry date goes red when expired but i want to try and automate the inputting of the dates so for example.

If i select '1 week membership) from the drop down box in the membership type box it will firstly change the start date to the current date (i think this is using the NOW() function) and secodnly changes the expriry date to todays date plus 6 days. Ofcourse i want the expiry date to increase depending on the selection so if i select 1 month membership it would be now date plus 28 days.

I am stuck as to how i can do this and from internet tutorials have been told it requires macro as it cant be done any other way?

View 14 Replies View Related

Excel Macro To Send Email Through Outlook When Expiry Nearing

Aug 15, 2014

I am trying to make an inventory list with the expiry date of various chemicals. There is a user form which I have not coded yet. What I hope to do is have the macro send an email regarding which chemical is expiring within 90 days to a group of people.

View 3 Replies View Related

Password Protection :: Asking For Password Of An Old Deleted File

May 27, 2009

When opening a new Excel file, it is asking me for a password to an old excel file that was password protected, which I have deleted from my computer. It is still asking for this password every time I open a new or existing file. When I hit cancel it lets me open the file.

View 11 Replies View Related

Forgotten Password For Password Protected Sheet

Mar 21, 2007

I have a spreadsheet, which has certain worksheets that are password protected. I need to make changes to some of the formulas, and the VBA modules, however I cannot remember the password!! Is there a way of identifying the password??

View 3 Replies View Related

Macro - Paste Password Into Password Box

Nov 28, 2008

I am havng problems with the belwo macro code -

Range("G7").Select
Selection.Copy
Workbooks.Open Filename:= _
"Q:PublicPAYMENTS Q&RREPORTSSuspense Activity BUSINESS2008 - Suspense BUSINESS - Activity Reports2008 Avon.xls"
Application.CutCopyMode = False
ActiveWorkbook.Save
ActiveWindow.Close
End Sub

When i open the workbook it requires me to insert a password, i tried to type this but excel will not follow keystrokes, i then inserted the password in cell G7 which i then copy and paste, which you can see the copy at the beginning of the macro.

Is there a way where you can get it to insert the password so i can open the workbook in a macro.

What im trying to do is save 26 suspense spreadsheets by just clicking on a macro.

View 9 Replies View Related

Password Protect: Unlock The Worksheet, Autofilter It, Print It, Unfilter It, And Password Protect The Sheet Again?

Jan 12, 2007

I have a sheet that is password protected. I have this code attached to a command button. It will unlock the worksheet, autofilter it, print it, unfilter it, and password protect the sheet again. However it is protecting it without a password. I need to have it protected with the password so that someone will not be able to just go to tools to unprotect the sheet.

Private Sub CommandButton1_Click()
ActiveSheet.Unprotect "rainforest"
Columns("O:O").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:=">0", Operator:=xlAnd
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Selection.AutoFilter Field:=1
Selection.AutoFilter
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _
, AllowSorting:=True, AllowFiltering:=True
End Sub

View 3 Replies View Related

Set Password

Mar 9, 2009

how to set password for VBAProject?

i know to protect the spreadsheet

i want to password protect my coding in the VBA Project module ...

View 10 Replies View Related

VBA Password

Dec 14, 2006

When using the a file with VBA based on a button is there any way to add a password to that file at the same time?

That way it can be opened by anyone?

The code below works fine but the user can open the file in fact anyone can once they press the command button I want to add a password so when the file is reopened it requires a password?

Is this some thing vba even does?

Private Sub CommandButton1_Click()
Const PTHNAME As String = "C:Feedback"
Dim FileNameWithDate As String, x As Integer

FileNameWithDate = Format(Date, "yyyymmdd")

x = 1

If Dir(PTHNAME & FileNameWithDate & ".xls") = "" Then
ActiveWorkbook.SaveAs Filename:=PTHNAME & FileNameWithDate & ".xls"
Else
Do Until Dir(PTHNAME & FileNameWithDate & x & ".xls") = ""
x = x + 1
Loop
ActiveWorkbook.SaveAs Filename:=PTHNAME & FileNameWithDate & x & ".xls"
End If
SendMailtoBDTT
SendMailtoPerson
End Sub

View 9 Replies View Related

Capturing Password ...

Apr 27, 2009

First, I know passwords are easy to break. The point is only to keep the average Excel user in a dept of 3 from accidentally damaging the data.

Normally I hardcode passwords to view xlveryhidden sheets.

But this workbook is for a dept head who has standard password(s) he uses to open or edit a file. I would like to capture these passwords and make it the same password(s) to view a hidden sheet.

This way if he ever changes the password to open/edit it will automatically change the password to view the hidden sheet(s).

View 7 Replies View Related

How To Set Password For An Action

Apr 27, 2009

How to set a password before executing any action.

For example, I have "cancel" button in my userform. If i click "cancel" it unloads the form. Instead of that i need a password prompt. so when i click the "cancel" button ,it should ask for a password. only if i provide the correct password then only the form should be unloaded.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved