View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
--elizabeth --elizabeth is offline
external usenet poster
 
Posts: 19
Default Code "crashes" after dynamically adding control to worksheet

Ooops! Somehow, I entered a key combination that posted my question before I
was ready. Before the lines below, should have been:

The declarations for the below code are as follows:

Dim ws As Worksheet
Dim lStartLine As Long
Dim sCode as String
Set ws = Sheets("NewWorksheet")

Thanks for helping.
--elizabeth