The error is : Object variable or with block variable not set
Best regards, Ayush jain On Jan 31, 11:11 am, Sunil Thacker <sunil.thacker....@gmail.com> wrote: > Whats the error..? > thx > Sunil T > > > > On Sat, Jan 31, 2009 at 1:09 AM, Ayush <jainayus...@gmail.com> wrote: > > > I need your help. Do you know how to clear the clipboard of MS Word > > 2003 through VBA Code? > > > If you have any idea, do let me know please. > > > I have tried this code : Application.CommandBars > > ("Clipboard").FindControl(ID:=3634).Execute > > > But it through an error. > > > Thanks. > > Ayush Jain > > -- > Regards, > Sunil Thacker > ¨`·.·´¨) Always > `·.¸(¨`·.·´¨) Keep > (¨`·.·´¨)¸.·´ Smiling! > `·.¸.·´ > (¨`·.·´¨) (¨`·.·´¨) > `·.¸(¨`·.·´¨)¸.·´ > `·.¸.·«*:·. > .·:* > *:·. > *«*:·. > .·:* > *:·. --~--~---------~--~----~------------~-------~--~----~ Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To post to this group, send email to excel-macros@googlegroups.com For more options, visit this group at http://groups.google.com/group/excel-macros?hl=en Visit & Join Our Orkut Community at http://www.orkut.com/Community.aspx?cmm=22913620 To Learn VBA Macros Please visit http://www.vbamacros.blogspot.com To see the Daily Excel Tips, Go to: http://exceldailytip.blogspot.com If you find any spam message in the group, please send an email to Ayush @ jainayus...@gmail.com -~----------~----~----~----~------~----~------~--~---