Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
With the following code I get the error message " "Type mismatch" on "Set
s2". What am I doing wrong? Dim s1 As Worksheet, s2 As Worksheet Dim sName As String sName = Range("n7") Worksheets.Add(After:=Sheets(Sheets.Count)).Name = ActiveSheet.Range("n7").Value Set s1 = ActiveSheet Set s2 = sName Thanks, Ronbo |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating excel file, adding code to it from code, VBE window stays | Excel Programming | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
How can I modify my code to offset the defined range and repeat theprocedure instead of duplicating my code? | Excel Programming | |||
Protect Sheet with code, but then code will not Paste error. How do i get around this. Please read for explainations.... | Excel Programming | |||
Excel code convert to Access code - Concat & eliminate duplicates | Excel Programming |