How can I get a visual element such as a slider into a Word document so that I can make use of it to visually represent a scale of 1-100 ?

I was thinking of an element such as this: sliders

I am fine with any such element that will visually represent a numeric value.

  • 2
    An image of a slider or a dynamic control? Apr 11 '13 at 15:33
  • First....What version of Word...Second I have never heard of putting dynamic controls into a Word document.
    – Ramhound
    Apr 11 '13 at 15:41
  • @Ramhound inserting a chart can be tied to dynamic data. You can also insert OLE Objects. Not to mention linking data with VBA. Just depends on how involved you want to get. Apr 11 '13 at 15:55
  • word 2010, and i'ld like to be able to not use an image but something i can slide to set the value. something dynamic.
    – kacalapy
    Apr 11 '13 at 16:05

There is nothing pre-built that I know of that you can easily add to Word.

Only options I can think of:

  1. Create a slider in JavaScript, take a picture of that and insert it. We use the jQueryUI Slider in our application. You can use JSFiddle to create and test out options. You would need to create a slider you like and then copy in an image (see here for example).
  2. Program a custom control. This could be done in .Net or with something that supports OLE.

I've never done this, but apparently if you have Visual Studio you can Add Windows Forms Controls to Office Documents:

You can add Windows Forms controls to Microsoft Office Excel and Microsoft Office Word documents at design time in document-level projects. At run time, you can add controls in document-level customizations and in application-level add-ins. For example, you can add a ComboBox control to your worksheet so that users can select from a list of options.

  1. Create or open an Excel Workbook project or Word Document project in Visual Studio so that the document is visible in the designer. For information on creating projects, see How to: Create Office Projects in Visual Studio.

  2. In the Common Controls tab of the Toolbox, click the control you want to add, and drag it to the document.

If you check the list of controls that can be embedded in Word documents, there's a TrackBar control that seems to be just what you need.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.