prabha_friend
Prabhakaran Karuppaih
- Local time
- Today, 20:06
- Joined
- Mar 22, 2009
- Messages
- 1,000
Code where the Type-Mismatch occurs:
SourceFile.Worksheets(SlideNshapes!Shape_Sheet)
SlideNShapes is a DAO recordset
Shape_Sheet is a text field
Current value in SlideNshapes!Shape_Sheet is "New Format"
Why SourceFile.Worksheets("New Format").someproperty is working fine but not the
SourceFile.Worksheets(SlideNshapes!Shape_Sheet)
Even a Cstr() does the job but why not from recordset?
SourceFile.Worksheets(SlideNshapes!Shape_Sheet)
SlideNShapes is a DAO recordset
Shape_Sheet is a text field
Current value in SlideNshapes!Shape_Sheet is "New Format"
Why SourceFile.Worksheets("New Format").someproperty is working fine but not the
SourceFile.Worksheets(SlideNshapes!Shape_Sheet)
Even a Cstr() does the job but why not from recordset?