robyholmes
Registered User.
- Local time
- Today, 23:41
- Joined
- Mar 2, 2009
- Messages
- 57
I am trying to make a memo box full of information to be exported to excel, I need to use new lines to make is easier to read.
I have tried vbNewLine and Char(13) both with errors? Can it be done. Here is the code:
I have tried vbNewLine and Char(13) both with errors? Can it be done. Here is the code:
Code:
ApptNotes:
"Name: " & [tblCustomer]![title] & " " & [tblCustomer]![first_name] & " " & [tblCustomer]![last_name]
& char(13) & "Address: " & [tblCustomer]![address_line_1]
& char(13) & " " & [tblCustomer]![address_line_2]
& char(13) & " " & [tblCustomer]![address_line_3]
& char(13) & " " & [tblCustomer]![city]
& char(13) & " " & [tblCustomer]![county]
& char(13) & " " & [tblCustomer]![postcode]
& char(13) & "Home Tel: " & [tblCustomer]![home_tel]
& char(13) & "Mob: " & [tblCustomer]![mob_tel]
& char(13) & "Email: " & [tblCustomer]![email]
& char(13) & "Notes: " & [tblCustomer]![notes]
& char(13) & char(13) & "Cottage: " & [tblbooking]![cottage]
& char(13) & "Nights Booked: " & [tblbooking]![nights_booked]
& char(13) & "Adults: " & [tblbooking]![adults]
& char(13) & "Children: " & [tblbooking]![children]