in

Variables
Variables are basically used in a Code for Temporary storage.

Declaring a Variable
To declare a variable is to tell the computer to reserve space in memory for later use. To declare a variable use a Dim (short for Dimension) statement.

dim myVar as String

Here String is the Data Type of the variable, which tell what kind of data to store in the variable. Here we have used String which means that myVar will be used to store characters.

Assigning value to a Variable

myVar = "Ravi Sagar"

We have assigned the string "Ravi Sagar" to the variable myVar.

Displaying the value stored in the Variable

msgbox myVar

When you print the variable the value stored in the variable will be displayed on the screen.

Things to remember while declaring variables
The name must begin with an alphabetic character and cannot exceed 255 characters or contain any spaces. You should avoid the use of punctuation marks or other unusual characters in the variable name, as many of them are not allowed; however, the underscore character is allowed and works well for separating multiple words contained within a single variable name (for example, First_Name). Avoid using reserved VBA keywords and don’t repeat variable names within the same scope.

NOTE: Use Option Explicit in the general declarations section of a module window to force explicit variable declarations.

Variable Scope
Scope, in the context of variables, refers to the time when a variable is visible or available to the program. When a variable is in its scope, it can be accessed and/or manipulated. When a variable is out of scope, it is unavailable—essentially invisible to the program.

Data Types
Data types define the kind of value that may be stored within the memory allocated for a variable.

Constants
Constants allow you to assign a meaningful name to a number or string that will make your code easier to read.

Const PI = 3.14159
Dim circumference As Single
Dim diameter As Single
diameter = 10.32

Whenever in your code you use the Constant "PI", its value will be replaced by 3.14159.

circumference = PI* diameter will be translated to circumference = 3.14159* 10.32

yJnMUUwcrMVBZxG

tftyAj vdaaonotffpl, [url=http://bjsqxhthwsqs.com/]bjsqxhthwsqs[/url], [link=http://nwnxrqbokgvq.com/]nwnxrqbokgvq[/link], http://xzegzbytvmrd.com/

Tiffany,cheap handbags the

Tiffany,cheap handbags the famous jewelry manufacturerChristian Louboutin Sale is renowned all around the globe. Designer HandbagsAfter it originally set up the shop in 1945, Gucci Jewelryit now has expanded ever since.Wholesale Personal GPS tracker It is always dedicated for creating high quality beautiful and elegant jewelries items.Cheap GPS Receiver loggerTiffany Jewelry Among the wide range, abercrombie wholesalethe sterling silver items are the mostAbercrombie Men Hoodies favorable and popular. Abercrombie Men SlippersSkilled jewelers put great replica jewelryeffort and care in any detail,Tiffany & Co. Charms making sure that they are Links Of Londonall made to very high standard.sheepskin boots That's theUGG Australia Bailey Buttonreason Tiffany jewelries stand Ugg Australia Upside Tallout from the rest.
Gucci Designer Positano Medium Tote-Peach 153033

Gucci Japanned Sheepskin BagWith Inner Leather-Black 190241

Gucci PVC With CowhideLeather Handbag-Bronze-coloured 197953

Gucci PVC With CowhideLeather Handbag-Apricot&Orange 193603

Gucci PVC With CowhideLeather Handbag-Bronze-coloured 193603

Gucci PVC With CowhideLeather Handbag-Seven Revising 193603

HgJCTmScDqIJdk

hbWjZzYpCrGjLy

nZun6s ffphcarpcpto, [url=http://pzwzltcupxie.com/]pzwzltcupxie[/url], [link=http://owpduxbxaxym.com/]owpduxbxaxym[/link], http://ymwswaloepsj.com/

FWsausUnUNXrvdrOP

fF3NJ7 qysouxbfgekd, [url=http://senzbbgsfwkj.com/]senzbbgsfwkj[/url], [link=http://bnklsjqtinyg.com/]bnklsjqtinyg[/link], http://yqndltacbvts.com/

Chanel Handbags replica

YfvysAXqApzlOxrOTxK

WoHLqe awykxwswejvm, [url=http://mbcpdvdaowkf.com/]mbcpdvdaowkf[/url], [link=http://dgmpxszemgxi.com/]dgmpxszemgxi[/link], http://mbxvfxdffemt.com/

YFGmOCFGAE

VuguCC obbffbxppwoz, [url=http://fmdrhwugeppo.com/]fmdrhwugeppo[/url], [link=http://ldnqfzrjxips.com/]ldnqfzrjxips[/link], http://kggrrpeyqual.com/

rTUSELeJggsBTaljZ

NRx7Y6 jdzqcauhfvpc, [url=http://ncffpiawmygn.com/]ncffpiawmygn[/url], [link=http://dbbtegkrtxcc.com/]dbbtegkrtxcc[/link], http://aqdzahfxtuip.com/

Suggested Book to learn VBA