Let D be a weakly pseudoconvex domain in a submanifold in Cn and V be a subvariety in D which intersects ∂D transversally. If ∂V consists of strongly pseudoconvex boundary points of D, then any bounded holomorphic function in V can be extended to a bounded holomorphic function in D.