Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Ojbect required error msg

I have some simple code. I am getting a msg saying "object required" on the
2nd line of my code. I am just trying to test if a cell has text in it or
not. What does the error mean so I can understand it. (I've gotten it before
but not understood what the problem meant.) And how can I fix it.

Target = Cells(Rowx, 19)
If Worksheet.Function.IsText(Target) Then
Cells(Rowx, 21) = 0
GoTo Jump1
End If

Thank you very much,
Chet Shannon
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Ojbect required error msg

Chet,

Change

If Worksheet.Function.IsText(Target) Then
to
If Application.WorksheetFunction.IsText(Target) Then


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Chet Shannon" <Chet wrote in
message
...
I have some simple code. I am getting a msg saying "object
required" on the
2nd line of my code. I am just trying to test if a cell has
text in it or
not. What does the error mean so I can understand it. (I've
gotten it before
but not understood what the problem meant.) And how can I fix
it.

Target = Cells(Rowx, 19)
If Worksheet.Function.IsText(Target) Then
Cells(Rowx, 21) = 0
GoTo Jump1
End If

Thank you very much,
Chet Shannon



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: 424 Object required DavidM[_3_] Excel Programming 1 January 13th 05 03:23 PM
Error msg - "A required .DLL file ..." Help! Steve Excel Discussion (Misc queries) 2 January 13th 05 04:05 AM
424 Object required error J_J Excel Programming 4 November 7th 04 05:34 AM
Object Required Error Steph[_3_] Excel Programming 3 August 13th 04 03:26 PM
Syntax Error Runtime Error '424' Object Required sjenks183 Excel Programming 1 January 23rd 04 09:25 AM


All times are GMT +1. The time now is 06:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"