I really love to use this macro code whenever I have to analyze a data table. Here are the quick steps to apply this code.

All you have to do just paste these codes in your VBA editor. Don't Forget to download this free PDF checklist where I've added all these codes (+ two more. Feb 10, 2012 - Acquisitions Editor: Juliana Aldous Atkinson. Developmental Editor: sandra haynes. Customizing the Excel 2007 Program Window.

• Open VBE (ALT + F11). Lucisart photoshop plugin free download for mac. • Go to Project Explorer (Ctrl + R, If hidden).

• Select your workbook & double click on the name of a particular worksheet in which you want to activate the macro. • Paste the code into it and select the “BeforeDoubleClick” from event drop down menu. • Close VBE and you are done. Remember that, by applying this macro you will not able to edit the cell by double click.

Sub printCustomSelection() Dim startpageAs Integer Dim endpageAs Integer startpage= InputBox('Please Enter Start Page number.' , 'Enter Value') If Not WorksheetFunction.IsNumber(startpage) Then MsgBox'Invalid Start Page number. Please try again.' , 'Error' Exit Sub End If endpage= InputBox('Please Enter End Page number.' , 'Enter Value') If Not WorksheetFunction.IsNumber(endpage) Then MsgBox'Invalid End Page number. Please try again.' , 'Error' Exit Sub End If Selection.PrintOutFrom:=startpage, To:=endpage, Copies:=1, Collate:=True End Sub.

Sub SortWorksheets() Dim i As Integer Dim j As Integer Dim iAnswer As VbMsgBoxResult iAnswer = MsgBox('Sort Sheets in Ascending Order?' & Chr(10) _ & 'Clicking No will sort in Descending Order', _ vbYesNoCancel + vbQuestion + vbDefaultButton1, 'Sort Worksheets') For i = 1 To Sheets.Count For j = 1 To Sheets.Count - 1 If iAnswer = vbYes Then If UCase$(Sheets(j).Name) > UCase$(Sheets(j + 1).Name) Then Sheets(j).Move After:=Sheets(j + 1) End If ElseIf iAnswer = vbNo Then If UCase$(Sheets(j).Name). Sub TableofContent() Dim i As Long On Error Resume Next Application.DisplayAlerts = False Worksheets('Table of Content').Delete Application.DisplayAlerts = True On Error GoTo 0 ThisWorkbook.Sheets.Add Before:=ThisWorkbook.Worksheets(1) ActiveSheet.Name = 'Table of Content' For i = 1 To Sheets.Count With ActiveSheet.Hyperlinks.Add _ Anchor:=ActiveSheet.Cells(i, 1), _ Address:=', _ SubAddress:='' & Sheets(i).Name & '!A1', _ ScreenTip:=Sheets(i).Name, _ TextToDisplay:=Sheets(i).Name End With Next i End Sub. Sub SearchWindow32() Dim chromePath As String Dim search_string As String Dim query As String query = InputBox('Enter here your search here', 'Google Search') search_string = query search_string = Replace(search_string, ' ', '+') 'Uncomment the following line for Windows 64 versions and comment out Windows 32 versions' chromePath = 'C:Program FilesGoogleChromeApplicationchrome.exe' 'Uncomment the following line for Windows 32 versions and comment out Windows 64 versions chromePath = 'C:Program Files (x86)GoogleChromeApplicationchrome.exe' Shell (chromePath & ' -url & search_string) End Sub.

In this below code how I will define range. I just put data in sheet1 I dont know the data size like how much column and row are present in the data. So I want to put some dynamic range so that any data can useful. Please help ASAP.

Dear Puneet, This site is amazing and i get to learn something new every passing day. Sincere thanks for your time and initiative.

I am trying to create a date stamp button (using form control) that will add customized date and time of printing in the excel footer – using a specific font, font size and font color (e.g. Veranda, 8pt, Blue) The end result would look something like this: Printed on dd-mmm-yyyy at hh:mm:ss I don’t want the time stamp to be inserted automatically, but rather use a form control button to insert the same when clicked. Could you kindly help me with the VBA code please? It will be a great help!