Excel 2010 :: Launch Word Docx Embedded Within Spreadsheet

Sep 6, 2013

I have a word docx embedded within my spreadsheet .

Both are on Office 2010 versions and I have named the embedded word doc

docx = CCPBlank (named range)
sheet = Support Data

I want to open the word doc from within the spreadsheet from a user form I already have created for other module calls.

Any simple VBA code to open the embedded docx?

I have looked a previous posts and not sure they are suitable. I have embedded the docx as I want to ensure only that empty version is opened each time. It also means I only have to send one file (xlsm).

View 2 Replies


ADVERTISEMENT

Excel 2010 :: Populate UserForm In Word With Data From Spreadsheet

Feb 19, 2013

I have a word template that gives a popup when started for the user to fill out. At present this is okay, but it is hard to maintain. So what I want is to be able to add all needed information in Excel - since our tools have the possibility to export my needed info to this.

I have a spreadsheet in Excel 2010 named 'Input TR'. This info I want in the popup macro in word. When choosing name from a dropdown menu - I want Excel to give me the choices instead of having it in the coded macro. After I have choosen the name - I want the product belonging for this name in the 'Product/Service:' dropdown menu, e.g Test 1 will give the value 1...5. (I will only be able to choose one of them)

Today - everything is coded in the word2010 macro, and thus difficult to maintain.

View 5 Replies View Related

Microsoft Word Hangs With Excel Launch Code

Apr 29, 2012

Consider this procedure to execute a MS Word mailmerge from within Excel:

Code:
Option Explicit
Dim objword As Object
Dim odoc As Object
Dim odoc2 As Object
Dim wdsendtonewdocument As Object
Dim mypath As String

Sub merge()

[Code] ........

The application hangs on the line in red. The file name (worksheets("Frontpage").Range("B15")) exists. It hangs with periodic dialogues "Microsoft Office is waiting for another application to complete an OLE action."

I end up having to go into task manager to close the word application before I can regain Excel control again.

View 9 Replies View Related

Replace Some Of The Text In Word (Docx)

Oct 29, 2011

I have a VBA that opens a word document where I have a standard text, and some of the words are ment to change depending on who customer we have in mind.

It seems a bit unstable, sometimes it takes half of the words, if I add a sign like a comma after the word it seems to catch them better and manage to replace them.

Right now it doesn't change any of the words....

This is is:

Code:
Option Explicit
'the document
Dim Inv_doc As Object

[Code].....

View 5 Replies View Related

Excel 2010 :: Save Embedded PDF File To Disk?

Mar 4, 2014

Using Excel 2010, I have a workbook containing a variable number of PDF files captured as embedded OLE Objects. I wish to save each of the embedded PDF files to disk and assign the filename based on the contents of column 1 of the row containing the OLE Object.

View 1 Replies View Related

Print An Embedded Word Document

Feb 13, 2007

how to print an embedded Word document using VBA? I have tried using the macro recorder but only the cryptic code below is returned:

Sub Macro2()
ActiveSheet.Shapes("Object 3").Select
Selection.Verb Verb:=xlOpen
End Sub

View 5 Replies View Related

Retaining Data From Excel In Word Template When Row Added From Spreadsheet

Jun 4, 2014

I want to pull data from my excel file (using VBA) into Ms Word. I created a template in Word and wrote a macro to do this, it worked, however, anytime a new row is inserted or deleted in my excel spreadsheet my macro produces wrong results in my Ms Word template because the cell position has shifted, thereby producing the wrong result. How do i make it that my result remain the same when new row is added to my spreadsheet.

Example:
Excel row1: vicky 528
row2: sam 532
row3: john 092
row4: Own 211 word template: 092

This is what happen next:

Excel (New row added) Macro: ThisDocument.ScreenedPatients.Caption = wb.Sheets("CSAs").Cells(16, 1)

row1: pat 542
row2: vicky 528
row3: sam 532
row4: john 092
row5: Own 211 resulting Word template(running macro): word template: 532

But I want John to automatically go on the Word template without going into macro to change it all the time when a new row is added.

View 1 Replies View Related

Macro To Check Data From Word Documents Against Excel Spreadsheet?

Jun 20, 2013

Basically I have manually generated word documents based on a spreadsheet. Now, I need to countercheck the contents of the word documents with another spreadsheet i.e. make sure the courses in the word document for a particular student is same as that reflected on the spread sheet. Is it possible to write a macro for this? I'm a beginner and I'm waaay out of my depth. I have attached sample documents and spreadsheets.

The link to the documents are as follows: Macro to check data from Word documents against an excel spread sheet

View 2 Replies View Related

Excel 2010 :: How To Find A Word In A Cell

Sep 13, 2013

What is the formula for Excel 2010 if I have a text in a cell:

CM/62 Charge MTS/7/5/2013 000
CM/72 Non-Cash Adj MSC/7/3/2013 A15
CM/1542 Charge ADM/6/24/2013 S28
CM/63610 Charge MIS/7/5/2013
CM/527 Non-Cash Adj MSC/7/8/2013 S
CM/1542 Charge ADM/6/24/2013 S2
CM/5623 Charge LTE/7/24/2013 000
CM/1610 Rentup MAF/7/1/2013 S21

I need to get the result for word: MTS, MSC, ADM, LTE, MAF

View 6 Replies View Related

Excel 2010 :: Data To Word Email Merge?

Feb 20, 2012

i have Office 2010 and an Excel sheet that I need to use as the source in a Word Email merge.

I am trying to avoid the user having to open Word & run the Merge manually by providing some code in Excel to perform the task & create the emails.

View 3 Replies View Related

Excel 2010 :: VBA Save AS (word Document) Not Working

Nov 8, 2012

I have a long bit of code that at one point saves a Word document and then saves it again with a new name and the old (legacy) .doc extension.

This all works find when the user is running Office 2007. However, it errors out for using Office 2010. The reference libraries are all correct (as far as I know).

Code:

Dim myDoc As Word.Document
Dim saveAsName as String

saveAsName = "some text here" + ".doc"

myDoc.Save

myDoc.SaveAs fileName:=(saveAsName), FileFormat:=wdFormatDocument

View 9 Replies View Related

Passing Word Variable To Excel In Office 2010

Apr 2, 2013

I'm trying to pass a variable from Word to Excel. Basically I have a Word document with a plain text content control in it. I'll have users populate this field. I know how to create a reference to that content contol in Word VBA that'll tell me what's in that content control (eg.

Code:
MyWordVar = ActiveDocument.ContentControls(1).Range.Text
).

What I can't figure out is how to pass the value of "MyWordVar" to a variable in Excel.

View 4 Replies View Related

Excel 2007 :: Generate Microsoft Word Document From Data Encoded In Spreadsheet?

Jun 18, 2012

I need to generate a microsoft word document from the data encoded in my excel spreadsheet. I am currently using MS office 2007.

in the Excel Spreadsheet from columns C to F "a) b) c) d)" was not typed but in the word document it automatically appears before the choices encoded in excel. Another thing is that some of the choices typed in the excel spreadsheet are in bold font and I want it to be generated in word document with the bold font as well.

By the way I am planning to use this technique to create a 100 item multiple choice exam for my students as I find using EXCEL to generate the document a lot easier than creating the test manually in WORD.

View 1 Replies View Related

Excel 2010 :: How To Get Map Of World On Spreadsheet

Sep 9, 2013

Im using excel 2010. Im looking to have a map of the world in excel. I work in sales with 2 other people and we wish to divide the world up by countries.

It would be nice to have the names in a list and colours represent the countries.

View 2 Replies View Related

Excel 2010 :: Change Style For Certain Number Of Lines In Word Doc From VBA

Apr 29, 2014

i have done in Word VBA successfully (basically, change the Style for a certain number of lines):

VB:
Dim myRange As Range
Set myRange = ActiveDocument.Range(ActiveDocument.Range.Start, ActiveDocument.Range.Start)

[Code].....

View 2 Replies View Related

Excel 2010 :: Setting Up A Large Spreadsheet?

Mar 2, 2013

I'm have Excel 2010 and Windows XP. Each week I get 3 spreadsheets and each has data unique to it. Each spreadsheet has a week number column which is common to all three. I want to combine the three worksheets into one and make create several dynamic charts for management. How should I organize a large spreadsheet? In addition to my week number I have a host of other date fields. Some of the data I get is (1) vehicle VIN numbers (2) City/State/Country (3a) I break up the VIN to give me vehicle type (3b) year of assembly (3c) car type (3d) number of doors (4) mileage (5) complaint (7) defect code etc. etc. What are the do's and don't when setting up a large spreadsheet? I have data by week which goes back to 2006 and so my date fields go top-down. I inherited the three spreadsheets and would like everything under one roof, so to speak. One spreadsheet which I can make my charts.

View 1 Replies View Related

Excel 2010 :: Cut / Paste Jumps To The Top Of The Spreadsheet?

May 23, 2013

I have a system running Windows 7 Professional (32 bit) and MS Office 2010.

In Excel 2010, I have a spreadsheet that contains several hundred rows of data. When I cut and paste a section of data, Excel jumps to the top of the spreadsheet. This does not happen when I copy/paste, just cut/paste.

View 1 Replies View Related

Excel 2010 :: How To Add A Date Picker In Spreadsheet

Oct 14, 2013

I just want to add it to my excel 2010. How can I add a date picker in my spreadsheet, when the cell contains a date format????

View 14 Replies View Related

Excel 2010 :: New Spreadsheet Won't Format Numbers

Jan 16, 2014

Open a brand new spreadsheet whether the format is set to "General" or "Text" it will not let me enter numbers. For example, when I enter 2007 in the cell it displays 20 07 not really that big of space between the two zeros - but still a space. I can't format this no matter what I do.

View 1 Replies View Related

Excel 2010 :: How To Regroup Spreadsheet Data

Nov 13, 2012

In Excel 2010, spreadsheet with part # in column A and customer code in column B. Many part numbers have more than one customer buying the part.

I need to rearrange the information in the example below, where there are two part numbers:

Part Cust
334 CCC
334 CHD
334 CIL
401 CIL

Looks like the layout below, where there are still 2 columns, part # and customer, but with the customer(s) concantenated in column B:

Part Cust
334 CCC, CHD, CIL
401 CIL

Can this be done with any wizard type tool (pivot table, etc)? I am sure it could be done with VBA.

View 5 Replies View Related

Excel 2010 :: Who Saved Last Entry Into Spreadsheet

Jul 14, 2014

We have a spreadsheet on a server.Without using code is there a way to show who saved the workbook last?

using 2010

View 1 Replies View Related

Excel 2010 :: Macro To Import Multiple Word Tables Into Worksheet

Jun 5, 2014

I am trying to take multiple tables from a Word document and import them into an Excel worksheet. Currently I have found two versions that when combined, could yield what I am looking for. The first one imports the table's data from Word, but does not maintain formatting of the table (font, colors, rows/columns etc.):

The next code maintains formatting, but only imports/pastes one table:

[Code] .........

For the second one, I do not like the fact that it is calling a specific Workbook to paste into. If I could somehow maintain the ability to import/past multiple tables while keeping formatting that would be perfect. An extra bonus would be to import each table within the Word document into individual Worksheets in Excel. I am also using Office 2010.

References: [URL] .........

VBA - How to preserve source formatting while copying data from word table to excel sheet using VB macro? - Stack Overflow

View 14 Replies View Related

Excel 2010 :: Hyperlinks Not Working When Spreadsheet Moved

Oct 17, 2013

Using MS Excel 2010.

As I understand it hyperlinks set in a spreadsheet should work regardless of where you save and/or copy the spreadsheet i.e. as long as the directory location of the location / file the hyperlink is referencing doesn't change (notwithstanding, the user must have appropriate access rights to the relevant directory locations)

However, the situation I have is the spreadsheet was generated and saved to directory location A (intention being this would be the 'master' yearly template) and the hyperlinks set, all of which work when you open the spreadsheet in this directory location. But when I copy the spreadsheet to directory location B, which is intended to be the yearly 'register' location for the spreadsheet, none of the hyperlinks work? When I hold my cursor over a link in the copied spreadsheet, in directory B, I do not get a 'pop-up' path like I do in directory A and when I click a link I get an error message:

Microsoft Excel The address of this site is not valid. Check the address and try again.

As stated above the documents the hyperlinks relate to have not moved, they remain in the same template directory (i.e. the link path has not altered).

View 1 Replies View Related

Excel 2010 :: Extracting Data From Large Spreadsheet

Jan 31, 2014

I work with Excel 2010 and have a very large spreadsheet with data that I need to manipulate in several different ways. I have been filtering and then cutting and pasting but this is very time consuming . Is there a way to extract specific data from the spreadsheet and transfer it to different worksheets? I don't really know how to use macros.

[URL] .....

View 14 Replies View Related

Excel 2010 :: Importing Online Data Into Spreadsheet

Jun 2, 2014

I have been tasked with streamlining a process to collect data from a specific online website (Web of Science) and import it into an Excel 2010 spreadsheet.

Currently they are going to the website, entering a short number of search parameters and then manually recording the pertinent data from the webpage. They would like to be able to enter a keyword in Excel (which acts as the search item) which then automatically does the rest of the process and provides them with a spreadsheet of the required data.

Is this possible? Perhaps by using Visual Basic code within Excel? I also saw a method that employed SharePoint Server 2010.

View 3 Replies View Related

Excel 2010 :: Allow Multiple User Access To Spreadsheet

Aug 22, 2012

We have a spreadsheet on a server location with macros. Different users will access the spreadsheet from one pc on different shifts. Is there a way to set the area as a Trust Location for all users on the PC or enable the macros in the spreadsheet to execute for all users without having to set up the spreadsheet trust location or macros for each user? I would like to have the spreadsheet accessable to any user on the PC without setting up individual access. The users can change for shift to shift.

View 2 Replies View Related

Excel 2010 :: Enter Formula For Volatility In Spreadsheet

Oct 10, 2012

Im trying to enter a formula for volatility in my excel 2010 spread sheet

my hig low close is listed verticaly in A,B,C

The formula for D1 is supposedly “={LN((A1)/(B1))}^2”

The formula for E1 is supposedly =SQRT(SUM(D1:D10)/10)*SQRT(252)*100

I put this in D1 and it is giving me an error

View 3 Replies View Related

Excel 2010 :: Placing Pictures From Folder In Spreadsheet

Jan 17, 2013

We updated excel from 2003 -> 2010 and this stopped working.

We have a macro which takes pictures from a folder and pastes those pictures in the excel -sheet.

At 2003 the pictures were correctly pasted to their positions, but at 2010 the pictures appear in somewhere at the same sheet. (not at the right places, which should be at column "o" at the same row.)

Macro (working correctly at 2003) :

Sub Kuvan_piirto(ic As Integer)
On Error GoTo loppu

SourceFile = Enari
DestinationFile = "Live1.JPG" ' Define target file name.
FileCopy SourceFile, DestinationFile
ActiveSheet.Pictures.Insert("Live1.JPG").Select

[Code] ..........

What should I change for 2010?

View 1 Replies View Related

Excel 2010 :: Pulling Email From One Spreadsheet To Corresponding Customer On Another

Oct 18, 2013

I am using MS Excel 2010.

I have a workbook with 2 separate spreadsheets.

Spreadsheet 1: GOLD
3 Columns:

A1 Number, B1 Name, C1 Acct Bal D1 (Empty)

Spreadsheet 2: Email
2 Columns

A1 Number, B1 Email

I would like to pull the email address for the corresponding Number From the Email sheet to the GOLD spreadsheet and have it end up in Column D

There are more rows in Sheet 2 than 1. I have already narrowed down the ones I need in Sheet 1. (Sheet 1 has 150 rows, Sheet 2 has 7315)

View 1 Replies View Related

Excel 2010 :: Macro That Will Draw Information From Spreadsheet

Apr 7, 2014

I am new to Excel VBA and am trying to create a macro that will draw information from a spreadsheet. The code i have written so far is shown below:

Sub Event1()
'Dim Event Date As Double
Dim Message As String
Dim Ans As String

' Prompt for Data

[Code] ......

The section i am having issues with is shown in red above.

What i am trying to do is have a message box pop up with the information as shown based on a date being typed into the the original box that pops up (Please enter a date and click on OK). The following message box then displays the required information from the spreadsheet.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved