DevastatioN
Registered User.
- Local time
- Today, 11:31
- Joined
- Nov 21, 2007
- Messages
- 242
Hello, not sure exactly where to put this one..
Am using VBA code to open an instance of Excel, and copy data into a premade template. I have memo fields that are often over 255 chars, and when pasting it into Excel only 255 chars appear. I need a way to fix this.
Access 2003 -> Excel 2003
Code Sample:
'Input the database information into their correct Excel locations
With objActiveWkb.Worksheets(1)
.cells(2, 3) = rstProgram.Fields("ProgramID")
.cells(3, 3) = rstProgram.Fields("ProgramTitle")
.cells(4, 3) = rstProgram.Fields("Description")
.cells(5, 3) = rstProgram.Fields("Scope")
.cells(6, 3) = rstProgram.Fields("OPI")
End With
etc. I tried using a String variable instead, no luck. Any ideas?
Am using VBA code to open an instance of Excel, and copy data into a premade template. I have memo fields that are often over 255 chars, and when pasting it into Excel only 255 chars appear. I need a way to fix this.
Access 2003 -> Excel 2003
Code Sample:
'Input the database information into their correct Excel locations
With objActiveWkb.Worksheets(1)
.cells(2, 3) = rstProgram.Fields("ProgramID")
.cells(3, 3) = rstProgram.Fields("ProgramTitle")
.cells(4, 3) = rstProgram.Fields("Description")
.cells(5, 3) = rstProgram.Fields("Scope")
.cells(6, 3) = rstProgram.Fields("OPI")
End With
etc. I tried using a String variable instead, no luck. Any ideas?