View Full Version : 'Method or Data Member Not Found' Please help@!


rosstqz
11-27-2005, 03:46 PM
Hi,

Trying to run a template on a new computer.. it works on other computers, but in this case it gives me this compile error.. kind of strange.

It comes up here-

End With
Selection.PasteAndFormat (wdPasteDefault)
Selection.MoveUp Unit:=wdParagraph, Count:=1, Extend:=wdExtend

(.PasteAndFormat) gets highlighted... I'm not that computer savvy... please help!!

Thanks heaps

Ross

macca the hacke
12-02-2005, 06:54 AM
It looks as if the computer you are now using does not have all the references that your old pc does. If you go into code for the form(?) you are having a problem with and go to Tools, then References you will see a list of References that you can use within Access on THAT machine. Do the same on the old pc and there will probably be more references ticked. All you then need to do is tick these missing references on your new machine.
Don't know off the top of my head which one will allow you to use '.pasteandformat'