Hi there, Im relatively new to
VB. Im trying to store a value from variable TotalCost to the first position of a text file. Here is the cunnk of code im using:
Dim Filename As String
Dim TotalCost As Variable
Filename = \\Home\shareddocs\Mateusz's Work\HND\HND Year 2 2004-05\Existing Units\Unit 15\Unit 15 Ass 2\Ass 2\C&C\textfile.txt
Open Filename For Input As #1
Write #1, TotalCost
Im getting a
â Runtime Error â54â Bad File Modeâ
Can somebody be kind enough to please advise me on where im going wrong and provide a little help, would really be appreciated! Cheers
Dabigpolska
DaBigPolska