R Robbe Morris [C# MVP] Jul 8, 2005 #2 Whenever you have questions like this, turn on the macro recorder and manually perform your task. Then, stop the recorder and look at the code it generated. Here's a more detailed explaination if you aren't familiar with the recorder: http://www.eggheadcafe.com/articles/create_macro_at_runtime_in_dotnet.asp -- 2004 and 2005 Microsoft MVP C# Robbe Morris http://www.masterado.net Earn $$$ money answering .NET Framework messageboard posts at EggHeadCafe.com. http://www.eggheadcafe.com/forums/merit.asp
Whenever you have questions like this, turn on the macro recorder and manually perform your task. Then, stop the recorder and look at the code it generated. Here's a more detailed explaination if you aren't familiar with the recorder: http://www.eggheadcafe.com/articles/create_macro_at_runtime_in_dotnet.asp -- 2004 and 2005 Microsoft MVP C# Robbe Morris http://www.masterado.net Earn $$$ money answering .NET Framework messageboard posts at EggHeadCafe.com. http://www.eggheadcafe.com/forums/merit.asp