Wednesday, March 30, 2016

Excel : How to unprotect a password protected worksheet

In the case of a password protected worksheet where you are unable to Edit the data you can try the following steps to unprotect your worksheet.

image - unprotect worksheet

Step 1: Press ALT +  F11 or click View Code on the Developers Tab

UnprotectWorksheet_02

Step 2: Double click on the worksheet that is password protected.

UnprotectWorksheet_03

Step 3: Copy and paste the code below into the (Code) window. Do not change any of the code, just copy and paste it.
Sub PasswordBreaker()
'Breaks worksheet password protection.
Dim i As Integer, j As Integer, k As Integer
Dim l As Integer, m As Integer, n As Integer
Dim i1 As Integer, i2 As Integer, i3 As Integer
Dim i4 As Integer, i5 As Integer, i6 As Integer
On Error Resume Next
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
If ActiveSheet.ProtectContents = False Then
MsgBox "One usable password is " & Chr(i) & Chr(j) & _
Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
Exit Sub
End If
Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next
End Sub

Step 4: Click on the Run Button or press F5.

UnprotectWorksheet_04


Step 5: It will return you back to the worksheet and an alert box will appear with one usable password. Click OK and the Excel sheet will be unprotected immediately. You can modify the sheet without password.


Usable password



Sunday, March 20, 2016

What is the use of Trim formula?

Purpose              : Removes un-necessary spaces in a given text
Return value     : Text with extra spaces removed.
Syntax                 : =TRIM (text)
Parameter list   :  text - The text from which to remove extra space.


Example:

 Image 1a


 Image 1b



=TRIM(A1)  [Formula]

Cell A1 contains the string:
="James"&CHAR(32)&CHAR(32)&"Bond"&CHAR(160)&CHAR(160)&"007". 

Note that there are 2 spaces between " James" and "Bond" and then 2 spaces (nonbreaking space characters with decimal value of 160) between "Bond" and "007". The string Length - LEN(A1) - is 16 characters. Refer Image 1a.

Formula returns the string "James Bond  007". TRIM Function deletes one space between "James" and "Bond". Length of returned string is 15 characters. TRIM function does not remove the nonbreaking spaces represented by CHAR(160), which can be done by using the SUBSTITUTE function as shown below. Refer Image 1b.


=TRIM(SUBSTITUTE(A1,CHAR(160),CHAR(32)))  [Formula]

Replaces each nonbreaking space character (Unicode value of 160) with a space character (ASCII value of 32) by using the SUBSTITUTE function, and then removes the multiple embedded spaces from the above string in Cell A1 (Image 1a).

Formula returns the string "James Bond 007". Length of returned string is 14 characters. Refer Image 2.



LOOKUP Function

Syntax : LOOKUP(lookup_value,  lookup_vector,  [result_vector])

The LOOKUP function vector form syntax has the following arguments (argument: A value that provides information to an action, an event, a method, a property, a function, or a procedure.):

lookup_value Required. A value that LOOKUP searches for in the first vector. Lookup_value can be a number, text, a logical value, or a name or reference that refers to a value.

lookup_vector Required. A range that contains only one row or one column. The values in lookup_vector can be text, numbers, or logical values.

Important   The values in lookup_vector must be placed in ascending order: ..., -2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE; otherwise, LOOKUP might not return the correct value. Uppercase and lowercase text are equivalent.

result_vector Optional. A range that contains only one row or column. The result_vector argument must be the same size as lookup_vector.




What is the use of Length formula?

Purpose              :   Get the length of text.
Return value     :   A number representing the lengh of the text.
Syntax                 :   =LEN (text)
Parameter list   :   text - The text for which to calculate length.


Examples of Excel Len formula:
len("Shahul Hameed") = 13
len(A1) = length of the value in cell A1
To get the length of a string, use the LEN function.

Monday, March 7, 2016

Adding a Missing Closing Bracket

Use a formula to add any missing brackets. The following is just one example of the type of formula you can use:

=IF(AND(NOT(ISERROR(SEARCH("[",A1))),NOT(RIGHT(A1,1)="]")),A1&"]",A1)

The trick is to check to see if the cell (A1 in this case) has a left bracket in it and, if it does, check for the right bracket. If the right bracket isn't found, then you append one to the contents of the cell. Here's another variation on the same formulaic theme:

=IF(ISERROR(FIND("[",A1)),A1,IF(ISERROR(FIND("]",A1)),A1&"]",A1))

If you have to check large numbers of cells for missing brackets on a regular basis, you may want to create a macro that will examine a range of cells and add a right bracket if one is needed. Here's an example of how such a macro could be formulated:

Sub Close_Bracket()
    Dim c As Range
    Const csLBrk As String = "["
    Const csRBrk As String = "]"
    On Error Resume Next
    For Each c In Selection.Cells
        If InStr(1, c.Value, csLBrk) > 0 And _
          InStr(1, c.Value, csRBrk) = 0 Then
            c.Value = c.Value & csRBrk
        End If
    Next c
End Sub

To use the macro, simply select the range of cells you want to affect, and then run it. The cells are examined in-place and modified, if needed.

Sunday, December 7, 2014

How to Auto-Forward All Outlook Emails to Gmail

Outlook 2013 offers customizable rules that help automatically manage your email, such as moving a message, flagging it, forwarding it or assigning a category. Using a forwarding rule, you could forward a copy of incoming emails to your Gmail account for a backup or to keep another person in the loop. If you don't specify checking criteria, Outlook applies the forwarding rule to all emails you receive.

Step 1
Click "File" and select "Manage Rules & Alerts."
or
Click "Home" and "Rules" select "Manage Rules & Alerts."




Step 2
Click "New Rule" from the "Email Rules" tab.

Step 3
Click "Apply Rule on Messages I Receive" from the "Start From a Blank Rule" section and click "Next."


Step 4
Leave all check boxes unchecked and click "Next." Click "Yes" if you receive a warning that the rule will be applied to all incoming emails.



Step 5
Check "Forward It to People or Public Group" from the top section.

Step 6
Click "People or Public Group" in the bottom section, enter your Gmail address in the "To" field, click "OK" and select "Next." If the appropriate Gmail address is listed in the top contact box, click the address and then "To" to automatically fill the address.



Step 7
Leave the list of exceptions unchecked to forward all emails and click "Next."

Step 8
Enter a name for the rule in the top field, check "Turn on This Rule" and select "Finish." Optionally, check "Run This Rule Now on Messages Already in 'Inbox'" to forward existing messages.






Thursday, October 16, 2014

உங்கள் செல்போன் ஒரிஜினல்தானா..! கண்டுபிடிப்பது எப்படி..?

நீங்கள் அதிகம் விலைக்கொடுத்து வாங்கிப் பயன்படுத்தும் செல்போன்கள் அனைத்தும் ஒரிஜினல்தானா என்பதை சோதித்துப் பார்ப்பது தற்போது கட்டாயமாகும்.

சில ஆயிரம் ரூபாய் முதல் பல ஆயிரம் ரூபாய்வரைகொடுத்து ஒரு புதிய மாடல் செல்போனை வாங்கும்போது, அதனுடைய உண்மைத்தன்மையை அறிய வேண்டும் அல்லா..?

உண்மையான நிறுவனத் தயாரிப்பாக இருக்க வேண்டும் இல்லையா? உண்மையான நிறுவனத்தைப் போன்றே தற்போது போலியான தயாரிப்புகள் தற்போது விலைக்கு வந்து அசல் எது? போலி எது என்று கண்டுபிடிக்க முடியாதவாறு எந்த வித்தியாசமும் இல்லாமல் காணப்படும்.

இவ்வாறான போலி தயாரிப்பு மொபைல்களைக் கண்டறிய கீழ்க்கண்ட வழிமுறைகள் உங்களுக்கு உதவும்.

முதலில் நீங்கள் உங்கள் மொபைல் போன் ஒரிஜினல்தானா என்பதைக் கண்டறிய International Mobile Equipment Identification எனப்படும் IMEI எண்ணை அறிந்துகொள்ள வேண்டும்.

உங்கள் மொபைலில் IMEI எண்ணைக் கண்டுபிடிப்பது எப்படி..?

சாதாரண செயல்பாட்டின் மூலம் IMEI எண்ணைக் கண்டறிய முடியும். உங்கள் மொபைலில் *#06# என தட்டச்சிடுங்கள்...உடனே உங்கள் மொபைல் போனிற்கான IMEI எண் காட்டபடும். அந்த IMEI எண்ணை குறித்து வைத்துக்கொள்ளுங்கள்.

அந்த IMEI ண்ணை ஒரு SMS ஆக தட்டச்சிட்டு 53235 என்ற எண்ணிற்கு SMS செய்துவிடுங்கள். இப்பொழுது உங்கள் பதில் SMS ஆக Success என்ற செய்தி வந்திருக்கும். அப்படி வரவில்லையென்றால் உங்கள் மொபைல் போலியானது என்பதை நீங்கள் அறிந்துகொள்ளலாம்.

IMEI எண்ணானது பதினைந்து இலக்க எண்ணாக இருக்கும்...

உங்களுடைய மொபைல் தயாரிப்புக்குரிய நாடுகளையும், தரத்தையும் இந்த IMEI எண்களை வைத்துக் கண்டறிய முடியும்.

அதாவது நீங்கள் குறித்துவைத்த IMEI எண்ணில் 7, 8 வது இலக்க எண்கள்

1. 0,2 அல்லது 2,0 என இருப்பின் ஐக்கிய அரபு எமிரேட்சில் அசெம்பிள் செய்யப்பட்டதாக இருக்கும். இதனுடைய தரம் குறைந்ததாக இருக்கும்.

2. 0,8 அல்லது 8,0 என இருபின் ஜெர்மனி நாட்டு தயாரிப்பாகவும், தரமானதாகவும் இருக்கும்.

3. 0,1 அல்லது 1,0 என இருப்பின் அது பின்லாந்து நாட்டுத் தயாரிப்பாகவும் தரமிக்கதாகவும் இருக்கும்.

4. 1,3 என இருப்பின் Azerbaijan நாட்டு அசெம்பிள் தயாரிப்பாகவும், தரம் குறைந்தும், உடலுக்கு தீங்கு விளைவிக்க கூடியதாகவும் இருக்கும்.

இந்த முறையில் உங்களுக்கு ஏதேனும் சந்தேகம் இருப்பின் இணையத்தின் மூலமும் நீங்கள் உறுதிப்படுத்திக்கொள்ள முடியும்.

http://www.numberingplans.com/?page=analysis&sub=imeinr



Thanks :
- இன்று ஒரு தகவல். Today A Message.