Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
VBA Code Library

VBA Code Library

Ratings: (0)|Views: 400|Likes:
VBA Code Library
VBA Code Library

More info:

Published by: Balaji.S (ACA) Srirangam on Nov 15, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as XLSX, PDF, TXT or read online from Scribd
See more
See less

02/14/2013

pdf

text

original

 
http://www.vbusers.com/code/codetoc.asphttp://www.vbusers.com/downloads/download.asphttp://www.freevbcode.com/ShowCode.asp?ID=329http://allenbrowne.com/funcindex.htmlhttp://www.ozgrid.com/VBA/http://www.mrexcel.com/forum/excel-questions/540096-use-visual-basic-applications-codhttp://www.mrexcel.com/forum/excel-questions/643359-visual-basic-applications-code-sohttp://www.mrexcel.com/forum/excel-questions/649127-visual-basic-applications-using-blhttp://msdn.microsoft.com/en-us/library/aa984063(v=vs.71).aspxhttp://www.mrexcel.com/forum/excel-questions/540096-use-visual-basic-applications-codhttp://www.mrexcel.com/forum/excel-questions/649127-visual-basic-applications-using-blhttp://www.ozgrid.com/VBA/http://www.mrexcel.com/articles.shtmlhttp://www.mrexcel.com/articles.shtml#Formulasviphttp://allenbrowne.com/funcindex.htmlhttp://www.mrexcel.com/articles.shtml#VBAhttp://www.mrexcel.com/forum/excel-questions/649127-visual-basic-applications-using-blhttp://www.mrexcel.com/forum/excel-questions/614216-visual-basic-applications-code-exhttp://www.mrexcel.com/forum/excel-questions/641873-visual-basic-applications-reorder-http://www.mrexcel.com/forum/excel-questions/43009-visual-basic-applications-code-aut
 
http://www.vbusers.com/code/codetoc.asp?Search=&Type=0&MaxThread=395&MaxPost=1-create-excel-drop-down-list.htmlt-list-then-delete-simliar-rows-only-one-column.htmlck-code-filtered-list.html-create-excel-drop-down-list.htmlck-code-filtered-list.htmlck-code-filtered-list.htmlract-list-unique-values-database-field.htmlcolumns-list-view.htmlfilter.html
 
Returning a distinct list of items from an Exc
Below is code to return a distinct list of items from an excel range.Option Explicit'Purpose : Returns a list of distinct items from a range.'Inputs : rngReturnDistinctListFrom. The range to return the distinct list from' rngItemsAlreadyReturned. The range containing the values already returned.'Outputs : Returns the first distinct item which has not already been returned in the rngItemsAlready'Author : Andrew Baker'Date : 25/03/2000'Example usuage:''=FirstDistinctItem(A1:A1000,B$1:B1)'Where:'A1:A1000 is a list containing the items to return a distinct list of 'B$1:B1 is the list containing the distinct items already returned.Function FirstDistinctItem(rngReturnDistinctListFrom As Excel.Range, rngItemsAlreadyReturned As ExceDim avItemsAlreadyReturned As VariantDim vCell As Variant FirstDistinctItem = ""avItemsAlreadyReturned = rngItemsAlreadyReturned.Value For Each vCell In rngReturnDistinctListFromIf (bIgnoreBlanks = False Or (bIgnoreBlanks And vCell <> "")) = True ThenIf (ArrayHasItem(avItemsAlreadyReturned, vCell) = False) ThenFirstDistinctItem = vCellExit FunctionEnd If End If NextEnd Function'Purpose : Checks to see if a value is already in an array.'Inputs : avInArray. The array to evaluate.' vValueToCheck. The value to look for in the array.'Outputs : True. The array contains vValueToCheck' False. The array does not contain vValueToCheck.'Author : Andrew Baker'Date : 25/03/2000'Notes : The array can be any size or shape as this function

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->