Ahmed Martens
2014-11-15 09:31:36 UTC
Hallo Folks,
i have following Code to get the Number from a Range.Column:
Dim iCol
dim objExcel
Set objExcel = GetObject(,"Excel.Application")
iCol = GetSpaltenNummer(objExcel.Range("R14"))
Function GetSpaltenNummer(rngCell)
GetSpaltenNummer= objExcel.rngCell.Column
End Function
Excel ist running and in VBSEdit i can see, that the number from the
Column is = 18. But the retunvalue is every time = empty.
What is wrong.
Can anyone help me?
Thanks of all.
Gruß Ahmed
i have following Code to get the Number from a Range.Column:
Dim iCol
dim objExcel
Set objExcel = GetObject(,"Excel.Application")
iCol = GetSpaltenNummer(objExcel.Range("R14"))
Function GetSpaltenNummer(rngCell)
GetSpaltenNummer= objExcel.rngCell.Column
End Function
Excel ist running and in VBSEdit i can see, that the number from the
Column is = 18. But the retunvalue is every time = empty.
What is wrong.
Can anyone help me?
Thanks of all.
Gruß Ahmed
--
Antworten bitte nur in der Newsgroup
Windows 7 64bit Home Premium
Office Prof. 2010
Antworten bitte nur in der Newsgroup
Windows 7 64bit Home Premium
Office Prof. 2010