VBA : Open XML file with XSL in Excel -


i open xml file vba language on excel, when it, xsl ignored. here code :

sub openfile() ' ' openfile macro ' name_file = application.getopenfilename("xml files (*.xml), *.xml") if name_file <> false     workbooks.open filename:=name_file end if ' end sub 

thank answers

you need use openxml method instead:

workbooks.openxml filename:=name_file, stylesheets:=array(1) 

Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -