Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Unhandled script exception: Bad Datatype detected for operation EXCEPTION_CLASS_SCRIPT_BAD_TYPE SCRIPT_CMD_CONVERT

(0) ShareShare
ReportReport
Posted on by 447

Unhandled script exception:
Bad Datatype detected for operation

EXCEPTION_CLASS_SCRIPT_BAD_TYPE
SCRIPT_CMD_CONVERT

I am trying to use COM in dexterity and when reading cell from excel which is empty got this datatype error on below line, how to overcome it?

warning activeWorksheet.Range["D"+str(i)].value;

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans