Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Offace,
This is great, definately food for thought - started experimenting and anticipate it may take a while. Wanted to say THANKS! Assuming VBA doesn't have a simple casting syntax, you're suggestions seem the best - perhaps only - alternative. For the record, this is what I'm trying to accomplish (without CType.) There would be a symmetric Write function as well. Thanks/Cheers! P.S. This reply dialog "differs" from what I'm used to(?) Code:
Public Type DayKey dDate As Date iRow As Integer iCol As Integer End Type Public Sub QD_Read(ByVal AbsRow As Integer, _ ByVal AbsCol As Integer, _ ByRef dDate As Date, _ ByRef datRow As Integer, _ ByRef datCol As Integer) Dim tKey As DayKey tKey = CType(WS.Cells(AbsRow, AbsCol).Text, DayKey) dDate = tKey.dDate datRow = tKey.iRow datCol = tKey.iCol End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
=SUBSTITUTE(C4,"~?#","") will this work to remove multiple string | Excel Worksheet Functions | |||
Userform problem with "obj doesn't support this property or method"error message. | Excel Programming | |||
combining or "flattening" rows | Excel Worksheet Functions | |||
Converting "uppercase" string data to "lower case" in CSV file | Excel Discussion (Misc queries) | |||
text string: "91E10" in csv file auto converts to: "9.10E+11" | Excel Discussion (Misc queries) |