|
-
Apr 14th, 2008, 12:51 PM
#1
Thread Starter
Addicted Member
[RESOLVED] object value set to nothing
IT gives error
object value set to nothing what is wrong
MyScreen.Area(1,10,1,14).Value = Trim(aSheet.Cells(4, "e"))
-
Apr 14th, 2008, 01:47 PM
#2
Thread Starter
Addicted Member
Re: object value set to nothing
i have in cell 4 e has ABCD BUT SPACES BEFORE A AND AFTER.
I TRIED BELOW THE CODE
BUT STILL I HGOT object value set to nothing
-
Apr 14th, 2008, 06:26 PM
#3
Thread Starter
Addicted Member
Re: object value set to nothing
Westconn
why it is coming error in the
MyScreen.Area(1,10,1,14).Value = Trim(aSheet.Cells(4, "e"))
what is the problem in that
before this code i have len statiment
-
Apr 14th, 2008, 07:47 PM
#4
Lively Member
Re: object value set to nothing
 Originally Posted by india123
Westconn
why it is coming error in the
MyScreen.Area(1,10,1,14).Value = Trim(aSheet.Cells(4, "e"))
what is the problem in that
before this code i have len statiment
Hi there.
when referencing cells in excel from VBA there are two conventions -
asheet.cells(4,5).value
or
asheet.range("e4").value
You are mixing the two conventions and this is probably the reason it doesn't work.
hope this helps
Cheers
-
Apr 15th, 2008, 08:17 AM
#5
Thread Starter
Addicted Member
Re: object value set to nothing
Still the same problem it is not resolved
MyScreen.Area(1,10,1,5).Value = aSheet.range("e4").value
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
|