Avatar of RIAS
RIASFlag for United Kingdom of Great Britain and Northern Ireland

asked on 

MsExcel.WorksheetFunction.CountBlank gives an error+vb.net

Hi,
MsExcel.WorksheetFunction.CountBlank gives an error.
Please find the attached error.

Ta
error.docx
Visual Basic ClassicVisual Basic.NET

Avatar of undefined
Last Comment
RIAS
Avatar of ElrondCT
ElrondCT
Flag of United States of America image

Please show us the code that gives the error. What version of Visual Basic and of Excel are you using?
Avatar of Chris Raisin
Chris Raisin
Flag of Australia image

Since you have suppied a "docx" file I assume you are using Excel 2010
(it is the only one to have the MsExcel.WorksheetFunction.CountBlank property) and since you quoted vb.net I am ussuming you are using VB.Net.

Please supply the code that triggers the error.
ASKER CERTIFIED SOLUTION
Avatar of Chris Raisin
Chris Raisin
Flag of Australia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of RIAS
RIAS
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Cheers mate well spotted !!!
Visual Basic Classic
Visual Basic Classic

Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.

165K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo