Skip to navigation
Real World Computing

How to scan into Word 2010

Posted on 17 Aug 2010 at 15:48

Word no longer lets you insert a scanned image directly into a document, but Simon Jones explains how to design a button that allows you to do just that

You could use the Custom UI Editor Tool, which lets you handcraft RibbonX XML to describe your button and then insert the XML file and your chosen image into the template that contains your macro. Then you can digitally sign the template file and put it into your Word Startup folder, so it’s loaded whenever Word is launched. RibbonX isn’t the easiest code to write, but at least all the tools you need are free.

The other alternative is to use Visual Studio 2010 to write an add-in for Word 2010, since it includes a visual ribbon designer that allows you to drag and drop buttons from the toolbox onto a graphical representation of Word’s ribbon and set properties for the tabs, groups and buttons.

buttons

The code for such an add-in is a little more complicated than that one-line macro, because it has to connect to Word on startup, disconnect on shutdown, handle the button click event and ignore any errors from the InsertImagerScan command, but all in all it’s fewer than 20 lines, most of which are written for you by the development environment.

Publishing your add-in by ClickOnce or through a Windows Installer Setup project is about the hardest part of this whole solution; it requires you to sign the assembly, manifest and installation kit digitally, and prove that you’ve marked the correct prerequisites to ensure the .NET Framework 4 Client Profile and the VSTO 2010 Runtime will be downloaded and installed if they’re not already present, which all takes time and thought.

Luckily for you, I’ve done all this for you: if you want the ability to scan directly into Word 2010, you’ll find my WordScan2010 add-in here.

The installation kit consists of a SETUP.EXE and an MSI file. The SETUP.EXE will check for the prerequisites, and download and install them if you haven’t already got them. Be aware that a restart may be required after installing the .NET Framework 4, and after this you should run the setup again to continue. The add-in works with Word 2010 RTM, but I can’t guarantee it will work with the beta version of the Click-to-Run virtualised version as used for the Home & Business edition beta.

1 2
Subscribe to PC Pro magazine. We'll give you 3 issues for £1 plus a free gift - click here
User comments

A Code of Honour?

Well done Simon for producing a useful way of replacing a lost function.
Another lost function from both Word and the OS is the ability to import .pcx files.
These used to be ubiquitous graphics files. Although little used today, there are thousands of graphics .pcs libraries, and, of course, many original archive documents were scanned and saved as .pcx files.
It would be very useful if the .pcx graphics format could be re-integrated into Windows Explorer ( from XP onwards ) and also directly importable into Word documents.
Whilst there have been a few claimed kludges, with directions to import legacy graphics filters from, say, an old version of MS Paint, nothing works as it did up to 2003.
Perhaps there is a challenge here for PCPRO and its readers.
( brightonmb@gmail.com )

By specious on 24 Aug 2010

Scan Macro for 2007 & XP

Great idea, however there is a minor error when using Word 2007 & XP. There shouldn't be a pair of brackets after the command. The following macro seems to work:-

Sub Scan()
'
' Scan Macro
'
'

Word.WordBasic.InsertImagerScan

End Sub

When I invoked the macro for the first time, I found that I needed to untick the box "Add pictures to clip organizer" and then it works OK.

By pjajennings on 2 Sep 2010

Scan Macro for Word 2010

Thank you PC Pro. I am a novice user but found your instructions perfect and they worked!! Brilliant thought and sharing by you and your work is appreciated. Cheers for now... Marianne

By mjf3049 on 9 Sep 2010

It's slightly terrifying that it takes one line to scan the image and insert it into a document and ~20 to make the button on the toolbar. MS should maybe look at that.

By steviesteveo on 30 Sep 2010

WordScan Problem

I downloaded the WordScan add-in. It came as a zip file. I extracted the files. Clicked/installed the Setup.exe file, restarted. Clicked/installed the MSI file. Nothing showed up in Word 2010. I was expecting to see a Scanner button on the INSERT ribbon. What else do I need to do? Thanks.

By JHSJR on 21 Jan 2011

Word 2010 Scan problem

Hi Simon

I am having the same problem as JHSJR (21 Jan 2011). I have installed the wordscan add-in as instructed but I cannot find any scanner button. Need advise please. Many thanks.

By HopePhil on 18 Mar 2011

word 2010 scan prob

having the same problem as JHSJR (21 Jan 2011). I have installed the wordscan add-in as instructed but I cannot find any scanner button. Need advise please. Many thanks.

By sunny on 14 Jun 2011

MS Word 2010 scan problem

I am having the same problem as JHSJR (01 July 2011). I have installed the wordscan add-in as instructed but I cannot find any scanner button or add-in tab with it. Need advise please. Many thanks.

By jbl79705 on 1 Jul 2011

Word 2010 scan problem

I am having a similar problem to those above. Windows 7 64b, Office 2010 64b. Any help or tips would be useful.

By 750Duke on 3 Jul 2011

BForehand

I'm having the same problem as jbl79705 Scanner is HP5590. Please advise.

By BForehand on 23 Aug 2011

BForehand

I'm having the same problem as jbl79705 Scanner is HP5590. Please advise.

By BForehand on 23 Aug 2011

BForehand

I'm having the same problem as jbl79705 Scanner is HP5590. Please advise.

By BForehand on 23 Aug 2011

MSFrustrated

I also cannot find a button to scan directly after installing using Brother MFC 7430

By MSfrustrated on 30 Aug 2011

Where is the Scan Button

After running the EXE and bringing up WORD, I cannot find the SCAN button. What needs to be done to get the SCAN button viewable? Where is it?

By BigBird on 2 Oct 2011

still no reply?

I guess simon has left the desktop.. but if you are interested i found that windows photo gallery has some scanning functionality under the "File" button. regards stuart.

By usernamealreadytaken on 9 Nov 2011

much easier way to scan into Word 2010

alt + ips - use this command and the original insert scanned image dialogue pops up - exactly like in word 2003.

By GLENNMCBRIDE on 12 Jan 2012

Lmike

how do i see the responces to other comments

By Lmike on 31 Mar 2012

Another way

Hi, I had the same problem as above but found another solution. Create the following macro...

Sub Scan()
On Error Resume Next
WordBasic.InsertImagerScan
End Sub

I hope this helps

By JonGiger on 2 Apr 2012

@glennmcbride

I though the macro was cool, but your solution of alt + ips is way cooler for a keyboard addict like me. Thanks!

By srawcliffe on 12 Apr 2012

scanning in office 2010

we have canon ir3300 printer how can I scan in word 2010 using network scan gear

By ksingh on 24 Apr 2012

Thank you.. now for office 2013

Have used this for a long time without any glitches and worked perfectly (Many thanks to you Simon).. without sounding too proverbially "Olivered", would a word 2013 workaround be in the offing.. and while you at it would you enquire from Microsoft why in the world they would leave such a useful feature out of word?

By AdewaleAdesanya on 16 Aug 2012

vstor40_x86.exe problem

Howdy,
Thankf for your efforts in addressing this nagging issue. I've d/l'd the files needed but I'm getting the following error on installation:

"Setup has detected that the file 'C:\TEMP\VSD301.tmp\VSTOR40\vstor40_x86.exe' has changed since it was initially published.

See the setup log file located at 'C:\TEMP\VSD301.tmp\install.log' for more information."

Just looking for some advice as to a workaround - (I am on a corporate network if that has anything to do with it i'm not sure).

I have to cancel out at that point, clicking OK just cycles to the same point.

Kind Regards,
Davel

By davel on 10 Oct 2012

A Solution for Word 2013

The solution above fails in Word 2013 afaik. I've developed and documented a workaround - described here:

http://www.borncity.com/blog/2013/02/04/scanning-i
n-word-2013/

Hope it's readable, because I'm not a native English speaker.

By guenni on 5 Feb 2013

Leave a comment

You need to Login or Register to comment.

(optional)

Simon Jones

Simon Jones

Simon is a contributing editor to PC Pro. He's an independent IT consultant specialising in Microsoft Office, Visual Basic and SQL Server.

Read more More by Simon Jones

advertisement

Most Commented Real World Articles
Latest Real World Computing
Latest Blog Posts Subscribe to our RSS Feeds
Latest News Stories Subscribe to our RSS Feeds
Latest ReviewsSubscribe to our RSS Feeds

advertisement

Sponsored Links
 
SEARCH
Loading
WEB ID
SIGN UP

Your email:

Your password:

remember me

advertisement


Hitwise Top 10 Website 2010
 
 

PCPro-Computing in the Real World Printed from www.pcpro.co.uk

Register to receive our regular email newsletter at http://www.pcpro.co.uk/registration.

The newsletter contains links to our latest PC news, product reviews, features and how-to guides, plus special offers and competitions.