Import Excel Into Datawindow

I need some code with validation of loading a excel template into datawindow, I have done it before but dont have the code handy anyone got some. Much appreciated. I just want to load excel files which willl be following a template. Need something good lots of validation for fields which cannot be excepted and validation for incorrect fields etc.

Thanks,
Raheis.
raheisAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sandeep_patelCommented:
You can use importfile function for datawindow. Create datawindow template with validation rules you want and then use importfile function. Refer to pb help for more detail on this functions.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
divyeshhdoshiCommented:
Hi,
 
the other way you have to create OLEObject and connect it excel and then fetch every field from each cell then copy into data window.
Let me know if you want more help or sample code.
 
Thanks & Regards,
raheisAuthor Commented:
No much detail was given
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.