Tema: Re: Reikia pagalbos su VB
Autorius: b2b
Data: 2010-04-15 09:31:52
jei padedu "\" pries failas.txt tai man raso kad PATCH not found



"b2b" <b2b@gmail.com> wrote in message 
news:hq6bpv$vk0$1@trimpas.omnitel.net...
> na jau reiksme is excel celes gaunu:
> Open "C:\mano_katalogas\" & Range("E3") & "Failas.txt" For Random As 
> #FileNumber Len = Len(Kodai)
> bet sukuria faila "K1Failas.txt direktorijoje "C:\mano_katalogas\", o man 
> reikia, kad sioje direktorijoje "C:\mano_katalogas\" esanciame kataloge 
> "K1" sukurtu faila "Failas.txt"
>
> Yra ideju ?
>
>
>
> "b2b" <b2b@gmail.com> wrote in message 
> news:hq6a78$t2n$1@trimpas.omnitel.net...
>> as dabar esu irases taip:
>> Open "C:\mano_katalogas\" & "Failas.txt" For Random As #FileNumber Len = 
>> Len(Kodai)
>>
>> man reikia, kad fraze "x" butu paimta is tam tikros excel'io celes ir 
>> padeta tarp C:\mano_katalogas\" ir & "Failas.txt
>>
>> pvz. excel'io celeje (5,3) yra reiksme K1, tai as ta K1 noriu patalpinti 
>> taip:
>> C:\mano_katalogas\K1\Failas.txt
>>
>> sorry, jei pirmame poste ne visai aiskiai parasiau.
>>
>>
>>
>>
>> "Raimis" <somebody@nomail.com> wrote in message 
>> news:hq6722$p74$1@trimpas.omnitel.net...
>>>
>>> dim kelias as string
>>> kelias= "c:\mano_katalogas\" & range("laukas_5").value
>>>
>>> panaudoji kintamaji kelias ten, kur reikia
>>>
>>>
>>>
>>> "b2b" <b2b@gmail.com> wrote in message 
>>> news:hq4tig$vp4$1@trimpas.omnitel.net...
>>>> Is excel'io VB pagalba eksportuoju informacija (laukas_1, laukas_2, 
>>>> laukas_3, laukas_4) i TXT faila, kuris gali buti keliuose kataloguose, 
>>>> pvz. c:\mano_katalogas\mano_1
>>>>
>>>> c:\mano_katalogas\mano_2
>>>>
>>>> c:\mano_katalogas\mano_3
>>>> VB skript'e noreciau nurodyti kelia "c:\mano_katalogas\" o is excel'io 
>>>> celes "laukas_5" noreciau paimti reiksme pvz. mano_1.
>>>>
>>>> Gal galite kas padeti ?
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
>