View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
redf1re[_5_] redf1re[_5_] is offline
external usenet poster
 
Posts: 1
Default Error using CommandLineA


hi..... im using excel 2003 and windows xp, running the following code
im getting an error, which excel doesnt even open

Public Declare Function GetCommandLineA Lib "Kernel32" ()

Sub probe()
Dim s As String
s = String(255, " ")
s = GetCommandLineA
MsgBox s
End Sub

ive searched hard on the internet and apparently many people gets this
error, but i cant find a solution anywhere
strange thing is that in word 2003 it works fine.....
someone with a good heart would help me ? ;D


--
redf1re
------------------------------------------------------------------------
redf1re's Profile: http://www.excelforum.com/member.php...o&userid=31258
View this thread: http://www.excelforum.com/showthread...hreadid=510001