concreteinterface
Board Regular
- Joined
- Jul 10, 2008
- Messages
- 144
I have been over this a few times and can't figure it out. I have used this code a few times in the same project and it does work with similar setups. For some reason this sub is not working. Any suggestions?
Code:
Sub AddCompany()
Call Definitions.Definitions
Dim My_filenumber As Integer
Dim logSTR As String
Dim COL As String
My_filenumber = FreeFile
logSTR = InputBox("What is the name of the company?")
COL = WOP & "\Company List.csv"
Open COL For Append As #My_filenumber
Print #My_filenumber, logSTR
Close #My_filenumber
MsgBox My_filenumber '1
MsgBox WOP '\\IP Address\file\file\file WOP is declared as a public function in the Definitions.Definitions Sub
MsgBox COL '\\IP Address\file\file\file\Company List.csv
MsgBox logSTR 'Customer
'Company List.csv is filled with 24 rows in 1 column