Pages

Showing posts with label of. Show all posts
Showing posts with label of. Show all posts

Thursday, April 17, 2014

Sort Columns of the Table using Word VBA

Sort Word Table columns using Word VBA

The following function uses Selection.Sort, you can try alternative methods if selection is not possible / permissible

Function SortTable()

ActiveDocument.Tables(1).Select()

Selection.Sort(ExcludeHeader:=True, FieldNumber:="Column 1", SortFieldType _

:=wdSortFieldAlphanumeric, SortOrder:=wdSortOrderAscending, FieldNumber2 _

:="", SortFieldType2:=wdSortFieldAlphanumeric, SortOrder2:= _

wdSortOrderAscending, FieldNumber3:="", SortFieldType3:= _

wdSortFieldAlphanumeric, SortOrder3:=wdSortOrderAscending, Separator:= _

wdSortSeparateByTabs, SortColumn:=False, CaseSensitive:=False, LanguageID _

:=wdEnglishUS)

Selection.MoveRight(Unit:=wdCharacter, Count:=1)

End Function

The above uses as three column table. Please customize it for your use

See also:

How to use .Net Array.Sort Function in VBA

Case in-sensitive comparison

Read more »

Tuesday, April 15, 2014

Constants fixed length strings arrays user defined types and Declare statements not allowed as Public members of object modules

Declaring the following in a Userform is one possible cause for the error:

Declare Function apiFindWindow Lib "User32" Alias "FindWindowA" _

(ByVal lpclassname As Any, ByVal lpCaption As Any) As Long

DLL procedures declared in standard modules are public by default and can
be called from anywhere in your application. DLL procedures declared in any
other type of module are private to that module, and you must identify them
as such by preceding the declaration with the Private keyword. Hence

Private Declare Function apiFindWindow Lib "User32" Alias "FindWindowA" _

(ByVal lpclassname As Any, ByVal lpCaption As Any) As Long

Should solve the problem




Read more »

Monday, April 14, 2014

Maximum Limit of Rows Columns etc in Excel

How BIG is Excel 2007 and 2010

If you have worked on a large set of data from a non-Excel data source, for example, MS ACCESS, there are chances that you would have stored that in multiple sheets.

This riducules the data management. Now in Excel 2007 and above you have a big Excel workbook with 16384 columns and 10,48,576 rows

Following table gives you how big Excel has grown :)

Excel 2003

Excel 2007 and above

Maximum No of Rows

65,536

10,48,576

Maximum No of Columns

256

16,384

Read more »

Friday, April 11, 2014

How to Measure the Rank of a Website





The ranking of a website depends on several factors. It depends on Google Page Rank (known as PR), Alexa Traffic Rank, Complete Rank and so many. And to check the ranking status, there are thousands of extension available for internet browsers.


My personal choice for this purpose is Web Rank Toolbar. Today I am gonna show you how to install this toolbar on Firefox and Google Chrome.

Follow the steps below:

  1. First, make sure you are using Google Chrome or Firefox.
  2. If you are a chrome user then click here. And Firefox users can use this link.
  3. Chrome users will get several toolbars with Web Rank SEO. You can choose either the first one or any other toolbar as you like and then hit on Add to Chrome. And Firefox users should click on Add to Firefox button. 
  4. Then click on install. Firefox should be restarted. But chrome doesnt need to be restarted. 
  5. Now you are almost done. Chrome users must see this like an icon at the upper right corner. And Firefox users will get it like a horizontal bar. 


Read more »

Sunday, March 30, 2014

Camera Size Compare the size of digital cameras

Thinking of buying a digital camera for your next vacation? Here is a online service that will help you easily view the different sizes of cameras. While many tools exist to compare technical characteristics, Camera Size lets you know the size of each camera.
camera size comparison

Camera Size is a user-friendly web application that displays the exact dimensions of digital cameras to better compare. Operation is easy, just choose the two cameras that you want to compare from the drop-down list, and you’ll get the photo and the size of each camera.
sidebar camera size

The menu on the left sidebar allows you to choose the orientation of the camera (on supported models). You can rotate the camera left, right, top, front or back.

At the right side you can see an image of a regular AA Battery, which gives you an option to visualize the size of the camera. If that’s not enough, you can initialize a helper image of an average human male hand by clicking on the “Show hand”. You can drag this image around and position it under each camera and better visualize the size of the camera.

camera size comparison tool.

Read more »

Sunday, March 23, 2014

Age of Mythology

P3HM4-WDM27-662XW-9BPTV-CFVMQ

OR

QVW83-4MC67-FDPTH-49PT8-6HGRD
Read more »