Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Loading an xml

Hello - I have a userform that loads an xml file with the initiallization
event then populates a listbox using an xpath query. I need to populate up
to 6 listboxes with filters based on what the user selected from the previous
listbox. So I am loading the xml with click events, and it is a very large
file. Is there a way to load it when the form initializes and keep it loaded
until the form is unloaded?
--
Thanks,
Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Loading an xml

Create a global variable to hold the document and it should be maintained between selections.

--
Tim Williams
Palo Alto, CA


"Mike Archer" wrote in message ...
Hello - I have a userform that loads an xml file with the initiallization
event then populates a listbox using an xpath query. I need to populate up
to 6 listboxes with filters based on what the user selected from the previous
listbox. So I am loading the xml with click events, and it is a very large
file. Is there a way to load it when the form initializes and keep it loaded
until the form is unloaded?
--
Thanks,
Mike



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Loading an xml

Okay.. Because it so big, do I need to worry about dumping when the userform
is unloaded?
--
Thanks,
Mike


"Tim Williams" wrote:

Create a global variable to hold the document and it should be maintained between selections.

--
Tim Williams
Palo Alto, CA


"Mike Archer" wrote in message ...
Hello - I have a userform that loads an xml file with the initiallization
event then populates a listbox using an xpath query. I need to populate up
to 6 listboxes with filters based on what the user selected from the previous
listbox. So I am loading the xml with click events, and it is a very large
file. Is there a way to load it when the form initializes and keep it loaded
until the form is unloaded?
--
Thanks,
Mike




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Loading an xml

If the form is unloaded then it should be dumped automatically.
How big is it?

Tim

"Mike Archer" wrote in message ...
Okay.. Because it so big, do I need to worry about dumping when the userform
is unloaded?
--
Thanks,
Mike


"Tim Williams" wrote:

Create a global variable to hold the document and it should be maintained between selections.

--
Tim Williams
Palo Alto, CA


"Mike Archer" wrote in message
...
Hello - I have a userform that loads an xml file with the initiallization
event then populates a listbox using an xpath query. I need to populate up
to 6 listboxes with filters based on what the user selected from the previous
listbox. So I am loading the xml with click events, and it is a very large
file. Is there a way to load it when the form initializes and keep it loaded
until the form is unloaded?
--
Thanks,
Mike






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
loading add ins [email protected] Excel Discussion (Misc queries) 0 October 30th 08 02:51 PM
Loading... K Excel Discussion (Misc queries) 1 October 7th 07 09:37 PM
loading mallahd Excel Discussion (Misc queries) 2 May 25th 07 07:59 PM
Add-ins not loading Nick Hebb Excel Programming 3 May 16th 06 03:21 PM
Add-ins not loading John F Excel Discussion (Misc queries) 2 February 17th 05 08:54 PM


All times are GMT +1. The time now is 12:14 AM.

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"