• Skip to main content
  • Skip to primary sidebar

Ravi Shankar

Tweaking Apps

  • About
  • Portfolio
  • Privacy Policy

Archives for August 2011

Auto Replace feature in Google Docs

August 30, 2011 By Ravi Shankar Leave a Comment

This tutorial talks about the Auto Replace feature available in Google Docs. Using this feature, Google Docs users can add abbreviation and their corresponding words. For example, if you want to the entry da to be replaced with digianswers then you can do the following

Click the Tools menu and select Preferences from the displayed menu list.

In the Preferences Window, make sure to mark the check box with label as Automatic substitution.

And type “da” in Replace text box and the corresponding entry “digitalanswers” in With text box. Click OK button which is available at the bottom of the Preferences window to save the changes. Now when you type “da” in the document, it would be replaced with “digitalanswers”

Filed Under: Technical Tagged With: Automatic, Google Docs, Preferences, replace, Substitution, Words

How to validate an email addresses in Google Spreadsheet

August 25, 2011 By Ravi Shankar Leave a Comment

In Google Spreadsheet you can check whether the value entered is a proper email address by creating a data validation rule. This rule does a simple validation and checks for the @ symbol in the entered value. Let us say you have a column in your spreadsheet that needs to accept only email addresses, then you can do the following to add the validation.

Select the Column values, click the Data menu and select Validation from the menu list.

In the Data Validation window, select Text, Contains for the Criteria drop down and specify the value as @

And if you want to display a message to the user then type the message in Help text some thing like “Enter proper email address example [email protected]”. Click on the Save button to save the changes.

Now when you enter a value in the email address column without the @ symbol then it would display the message as shown below.

Filed Under: Excel, Technical Tagged With: Contains, Data Validation, email address, Google Spreadsheet, Validate

Always Keep headings visible in Google Spreadsheet

August 24, 2011 By Ravi Shankar 1 Comment

When you are working with lot of data in a Spreadsheet, the headings would disappear when you start scrolling down the rows. Google Docs Spreadsheet provides users with the option for keeping the headings always visible even when you scroll down the Sheet. This can be done by using the menu option available as part of the View menu. To explain, let us take the take following sample data

Now when the users scroll down below Row no 26, the heading rows would disappear as shown below.

And it will be difficult for the users to find out the column under which the values fall. This problem can be addressed using the Freeze rows feature. Navigate to View menu then Freeze rows and select Freeze 1 row menu option.

This would always Keep the heading rows always visible in a Google Docs Spreadsheet.

Filed Under: Excel, Technical Tagged With: Freeze rows, Google Docs, Headings, Rows, spreadsheet, Visible

How to enable autocomplete in Google Docs Spreadsheet

August 24, 2011 By Ravi Shankar 5 Comments

Autocomplete feature helps users by automatically filling the content of cell when users starting entering the first couple of letters in the Cell. The automatic entry is picked from the previously entered values for the same column.

Let us say you have got the following list of entries in one of the column

Arizona
Alabama
California
Florida
Indiana

Now when you start typing Ar in the cell below Indiana, Spreadsheet will automatically display Arizona based on the entries done earlier for that column. And when you press enter this value will be automatically filled for that cell.

You can enable Autocomplete feature in Google Spreadsheet by clicking the Tools menu and selecting Enable AutoComplete from list of available menus.

Remember that if there is a empty cell before the active cell then Autocomplete feature will try to pick from the below column values.

Filed Under: Excel, Technical Tagged With: Autocomplete, Enable, Google, Google Docs, spreadsheet

Change alternate row background colors in Spreadsheet using Google Apps Script

August 22, 2011 By Ravi Shankar 8 Comments

Here is a Google Apps Script that would set the background color of alternate rows in Google Spreadsheet. This script would set the background color of of the selection, this may not be an efficient script but would do the job.

Let us take the following sample data which will be used by the script for setting the background color.

Install the below script and select the data by excluding the Header columns and execute the script.

function alternateColor() {
  var totalRows = SpreadsheetApp.getActiveRange().getNumRows();
  var totalColumns = SpreadsheetApp.getActiveRange().getNumColumns();
  var startRow = SpreadsheetApp.getActiveRange().getRow();
  var startColumn = SpreadsheetApp.getActiveRange().getColumn();
  var sheet = SpreadsheetApp.getActiveSheet();
  var row = startRow;
  while (row < totalRows+startRow)
  {
    var column = startColumn
    while (column < totalColumns+startColumn){
      if(row%2 == 0){
           sheet.getRange(row, column).setBackgroundColor(“lightgrey”);
      }
      column++;
  }
    row++;
  }
}

After executing the script, the sample data would look as shown below.

If you want to change the white color then you can add an else statement to set the background color for odd row numbers as well.

if(row%2 == 0){
           sheet.getRange(row, column).setBackgroundColor(“lightgrey”);
      } else {
          sheet.getRange(row, column).setBackgroundColor(“lightblue”);
}

Let me know if any one have a better suggestionn.

Filed Under: Excel, Technical Tagged With: Alternate rows, Google Apps Script, spreadsheet

Display Date Created in finder view on Mac OS

August 18, 2011 By Ravi Shankar 2 Comments

The Finder view on Mac OS by default does not display the Date Created field for the documents, folders and other items. And if you want to know the date created for these items then you can enable this using Finder View options.

In the Finder View Options window, tick the check box with label as Date Created.

This would display the Date Created column for the respective items as shown above.

Filed Under: Apple, Mac, Mac OS X Tagged With: Date Created, Enable, Finder View, Mac OS, Show View

Turn off auto detect links in Google Docs

August 9, 2011 By Ravi Shankar Leave a Comment

Hyperlinks

Google Docs has a feature that can automatically detect any links and apply the style accordingly. For example if you have type a text as http://digianswers.com in a Google Docs document then it would consider this as a hyperlink

image

But if you do not want the hyperlink then highlight the link and click on the remove link.

image

And if you want to permanently turn off the auto detection of links then click on the Tools menu and select Preferences from the list of available menus.

image 

In the Preferences window, un mark the check box with label as Automatically detect links and click on the Ok button available at the bottom of the preferences window.

image

del.icio.us Tags: Google Docs,Turn Off,Automatic,Detection,Link,hyperlinks,remove

Filed Under: Technical Tagged With: Automatic, Detection, Google Docs, hyperlinks, Link, Remove, Turn Off

How to find word count in Google Docs Document

August 9, 2011 By Ravi Shankar Leave a Comment

Word Count

Word count in a Google Docs document can be found using the menu option available as part of Tools menu. The Word Count window provides count of pages, Words, Characters (no spaces), Characters (with spaces).

If you want find the Word Count in document, click on the Tools menu and then select Word count from the list of available menus.

image

This would display the Word Count window with the following information.

image

You can also find count of words for the given selection and the result will be displayed under the Selection column.

del.icio.us Tags: Google Docs,Document,Word Count,Pages,Characters

Filed Under: Technical Tagged With: Characters, Document, Google Docs, Pages, Word Count

  • Go to page 1
  • Go to page 2
  • Go to Next Page »

Primary Sidebar

Recent Posts

  • We have blocked all requests from this device – Firebase Phone Authentication
  • iPhone is not available error message in Xcode
  • Clear CocoaPods cache, re-download and reinstall all pods
  • PDFKit – View, Annotate PDF file in Swift
  • Tab Bar Controller with WebView

Archives

  • September 2020
  • April 2020
  • December 2019
  • November 2019
  • October 2019
  • February 2019
  • October 2017
  • June 2017
  • May 2017
  • March 2017
  • September 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • November 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • April 2011
  • March 2011
  • January 2011
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • July 2009
  • March 2008

Copyright 2020 © rshankar.com