|
-
Jul 26th, 2000, 07:19 PM
#9
Frenzied Member
I just noticed I incremented rows not columns so my commands should read:
myExcelWrk.Cells(1,i).Value = trim(myExcelWrk.Cells(1,i).Value))
for example.
The last post's code should be:
dim end_of_headers_found as boolean
dim i as integer
end_of_headers_found = false
i = 1
do until end_of_headers_found
myExcelWrk.Cells(1,i).Value = trim(myExcelWrk.Cells(1,i).Value))
if len(trim(myExcelWrk.Cells(1,i).Value)) < 1 then
end_of_headers_found=true
end if
i=i+1
loop
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|