|
Re: Paste the last thing you copied
Posted 1/16/2007 2:34:26 PM by BabyAvocado On Error Resume Next intI = 0 Do While True strName = docs(strName).Name ' If there was no error, that means there's already ' a form by that name. Keep looking. If Err.Number = 0 Then intI = intI + 1 strName = strFormName & conQBFSuffix & intI Else Exit Do End If Loop Err.Clear |