Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Arguments of Excel functions

I like to program a function which will read 64 of single digit hex numbers
from 64 consecutive rows of the same column and concatenate them all as a
single text string. Anyone has any idea what is the best way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Arguments of Excel functions


Dim HexString as String, Counter as Long, InterestedColumn as Integer

InterestedColumn = <whatever column #

For Counter = 1 to UsedRange.Rows.Count
HexString = HexString & Cells(Counter, InterestedColumn).Value
Next Counte

--
crispb
-----------------------------------------------------------------------
crispbd's Profile: http://www.excelforum.com/member.php...fo&userid=1088
View this thread: http://www.excelforum.com/showthread.php?threadid=27465

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Arguments of Excel functions

Please stay in your original thread.
What do you call a single digit hex number? Why is it hex?
You can pass a range of 64 cells to a function:

Function AddCells(a As Range) As String
Dim i As Long
For i = 1 To 64
AddCells = AddCells + CStr(a(i))
Next i
End Function


--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"soonh" wrote in message
...
I like to program a function which will read 64 of single digit hex numbers
from 64 consecutive rows of the same column and concatenate them all as a
single text string. Anyone has any idea what is the best way to do this?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors on Functions with many arguments Ravi Excel Worksheet Functions 1 January 11th 07 03:27 PM
arguments in MATCH and OFFSET functions Dave F Excel Worksheet Functions 1 September 1st 06 03:41 PM
Why do functions not allow commas to seperate arguments JohanS Excel Worksheet Functions 5 May 17th 06 03:56 PM
Need know what are valid SUMPRODUCTS arguments and functions sparham Excel Worksheet Functions 2 October 30th 05 09:32 AM
Arrays as Arguments in Functions Dean[_6_] Excel Programming 3 June 24th 04 12:28 PM


All times are GMT +1. The time now is 12:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"