LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 128
Default add to a dynamic list

Do this to identify the error and then show a NEW userform to add your
desired controls

Above the line that gets the error message put this

On Error Goto ErrorHandler


Somewhere else in the script type

ErrorHandler:
If Err.Number = 381 then
userform.show ' Put you NEW userform name here
exit sub 'Keep this if you want to terminate the userfrom here
end if

With this you will then need to create a NEW userform to accomodate the
controls you require

Let us know how you get on and If you have any trouble you can email me at


--
Message posted via
http://www.officekb.com
 
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
Dynamic top 20 list Xhawk57 Excel Discussion (Misc queries) 4 November 5th 08 05:41 PM
Changing named Validation list to Dynamic list. GlenC Excel Discussion (Misc queries) 1 July 20th 06 11:49 PM
add to a dynamic list L Scholes Excel Programming 5 April 14th 06 01:05 PM
add to a dynamic list L Scholes Excel Programming 9 April 14th 06 01:18 AM
Dynamic list box Rafael[_3_] Excel Programming 1 December 30th 03 06:56 PM


All times are GMT +1. The time now is 05:02 PM.

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"