Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi, dear all
i wrote a small function in VBA and want to use it in excel sheet. the script is like, Function sample(sheetname As Integer) As Integer Dim R As Excel.Range Dim c As Variant sample = 0 For Each c In Worksheets(sheetname).Range("A1").CurrentRegion If Right(c.Value, 1) = "*" Then sample = 1 Exit Function End If Next End Function But when i type the formular in excel sheet, it can not work. My problem is how can i use this function in excel sheet??? Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need Excel function to convert dollars to written words | Excel Discussion (Misc queries) | |||
Is there a macro or function to convert values to it written text | Excel Worksheet Functions | |||
function to convert whole numbers to written text | Excel Worksheet Functions | |||
Excel is written in which programming language ? | Excel Discussion (Misc queries) | |||
how do I tabulate written information in excel? | Charts and Charting in Excel |