Create Hyperlink From 2 Cells, Then Open Word

Jun 6, 2006

The purpose of this endeavour is to create a cell that when the user clicks
on it, it will open up a Word file that THAT particular cell represents.

FIRST STEP:
Take the values from Column D (Tract Number), then add a ".doc" extension to
it, then put the UNC filepath (\serverdata
eports) in front of all of that
and put it in Column E. See me example below:

File path plus Tract Number plus Extension

\serverdata
eports 7-5-065-085 .doc

.... to generate something like this:
\serverdata
eports7-5-065-085.doc

SECOND STEP:
Use the value (only when the user clicks on the hyperlink) from the cell in
Column E and start up Word.

View 10 Replies


ADVERTISEMENT

Adding 2 Cells To Create Hyperlink URL?

May 4, 2012

I need to create a way to generate specific URLs based on a fixed URL and adding a variable number in a cell to create that URL.

example of the finished product

[URL]

So I have:

Cell B is http://www.boxpool.com/=
Cell D is 99

What formula should i use to generate [URL] so that different numbers can be used to generate unique URLs.

View 3 Replies View Related

Create Macro To Hyperlink Cells To Certain Worksheets?

Apr 4, 2014

I want the macro to:

1. Create a new worksheet when data is entered into a cell (ie. entered text "ACC2013" into cell A5)

2. Rename that worksheet to correspond to the data in the cell (ie. change worksheet name from sheet2 to "ACC2013")

3. Create a hyperlink between cell A5 and sheet2

I'd like for this macro to loop through a range of cells so I don't have to have a long code. Let's say my data range is from A5:A23. If this requires multiple macros that is fine.

View 1 Replies View Related

Create PDF File From Word Doc Inside A Folder With ID And Ref Number From Cells In Excel

Jul 31, 2014

I have an excel database where I register cases. I have in it a button that creates a folder with and ID nr that is in column A (I create new ID nr in the next row, when I press the button it will create a folder with that ID nr and inserts a blank word document in it). We have a template that we copy to the folder (depending what type of case). The idea would be that once the template is filled in and ready to print, It would take the values from the ID nr and a reference number a few cells to the right. Is it possible to tell excel to open the word document in the folder and create a PDF version with the ID nr and reference number. (there are only 2 templates, so the macro would have to look for one of the two in the folder)

The name of the templates are: "Standard" and "Other".

I guess the best way to start maybe this would be that I select the cell with the ID nr and then press a macro button to have this done.

One thing that needs to be done, is to put a copy in the same folder and another in a second folder called "Binder" in my documents folder.

View 1 Replies View Related

Hyperlink To Specific Location In Word Doc?

Aug 11, 2006

I have an Excel file to distribute to users. This file must contain Hyperlinks to a Word file which i will enbed in a sheet of the Excel file itself. My question is this: Is it possible to produce Hyperlinks that go to the specific part of the Word document? So far, i am only able to Hyperlink to the first page of the Word doc, by doing a macro.

View 2 Replies View Related

How To Open More Than 1 Hyperlink?

Oct 14, 2008

I have a problem and i believe someone else has this too. I have an excel file which contains near 600 hyperlinks to different websites. But my problem is i cant open more than 1 hyperlink at the time and in that way going trough 600 websites would take like 4days, is there any program / Software, plug in, or ANY way open Many hyperlinks same time so i dont need to click 1 after 1?

I tried

Sub OpenUrl()
Dim r As Integer

r = 2
Do
Cells(r, 1).Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
r = r + 1
Loop While Cells(r, 1).Hyperlinks.Count
End Sub

View 8 Replies View Related

To Open A Hyperlink

Apr 22, 2009

I have a VB macro script which needs to open a hyperlink. The hyperlink is a file on C: itself, but everytime I try to open the hyperlink, I get a safety prompt which confirms whether or not I want to open the hyperlink as they can be suspect. I need to know how to disable that prompt as that halts my macro right then and there. Does anyone know how to go about disabling this prompt message?

View 9 Replies View Related

Hyperlink Or Open -- Which To Use?

Jun 28, 2006

I need to post an Excel file to a web site that is sort of a "navigation" tool. What this tool will do is open a series of Excel files that are also on the web site, print something in them and then close them. My files have multiple worksheets, but if I use the OPEN command, my workbooks only have one worksheet (obviously, the first). So, I tried using the hyperlink(1).follow command which works and opens the file in its own window, however, as soon as the file opens, it has the focus and my macro in my navigation file stops and everything comes to a halt.

View 2 Replies View Related

Open Hyperlink Using A Button

Mar 24, 2014

I have the following hyperlink in a cell

Code:

=HYPERLINK((CONCATENATE("http://maps.google.co.uk/maps?f=q&so...OOOUOOO")),L18)

The text displayed in the cell is a postcode and the link takes you to the Postcode location in Google Maps. I have tried linking this to macros & creating a hyperlink on the button using the same code but I am having no joy. Is there a simple way of activating this using a macro linked to a shape?

View 3 Replies View Related

Create Open Copy Of Open Workbook

Jul 30, 2009

Create a full copy of an open workbook (eg. activeworkbook MyFile.xls) using VBA, with the new copy (eg Book1.xls) open as well ,without having to save a copy first then open it ?

View 9 Replies View Related

Open A Hyperlink By Command Button

Aug 15, 2014

How do I open a link like "google.com" / "yahoo.com through a command button in excel.

View 1 Replies View Related

Open/Show A Userform With A Hyperlink

Feb 1, 2007

Can a hyperlink (in a worksheet cell) be used to open/show a userform?

View 9 Replies View Related

Open IE Hyperlink In Active IE Instead Of New Instanc

Jun 13, 2007

What is the code to activate a hyperlink in an active IE window, new tab (IE7), as opposed to a new window, which is the result of:

Private Sub CommandButton14_CLICK()
Dim strClick1 As String
Dim strClick1default As String
Set WEBPAGE = CreateObject("InternetExplorer.Application")

strClick1default = Range("c51").Value
strClick1 = InputBox("Paste the weblink for the trace, or accept the default, and press OK to initiate the trace.", "ClickTrace", strClick1default)
Range("c51").Value = strClick1
If vbOK Then
With WEBPAGE
.Visible = True
.navigate strClick1
End With

End If
This code runs the hyperlink activation fine, but opens a new instance of IE, whereas I want it to use the already open and active instance, but using a new tab.

View 2 Replies View Related

Open Hyperlink With Keyboard Keys

Aug 8, 2008

I use keyboard commands in my workbook, but I cannot seem to find one that will open a selected hyperlink.

The hyperlinks have a formula like this:

=IF(B1018<>"",HYPERLINK(CONCATENATE("I:directories", B1018),"Listen"), "")

I want to be able to arrow over to that cell and hit a button to play the file (which is contained in cell B1018 in the above example), and there doesn't seem to be a keyboard shortcut to do this.

View 3 Replies View Related

Open Hyperlink In Cell With Macro Code

Aug 7, 2008

how to open a Hyperlink directly. I have writen some code which allows me to copy over certain cells from a large list of hyperlinked files. However I am struggling to figure out how to open the hyperlink without actually writing the hyperlink address into the code. The hyperlinks are the file names and not the file paths. In essence I'm aiming to just get the macro to "click" the hyperlink to open it. Once the file is open the rest of my code will work, it is just this one sticking point.

View 2 Replies View Related

Open XL From Word

May 2, 2006

I've took on a task that I stupidly volunteered myself for since no one else will.. including our development or IT team will seem to get completed.

Here's my dilemma:
User has information in Word that needs to go to XL WorkSheet. It has been formatted with tabs so that the information is copy and pasted into individual cells. To avoid human error, I want XL to open with a fresh workbook so that the information can be pasted into it with the Macro being run from Word.

I've searched everywhere to look for code to open XL up from Word and cannot find anything.

Will it be possible to open a new workbook and paste that information all with a macro from Word? Or will I need to trigger a macro in an already saved workbook?

View 5 Replies View Related

Create A Hyperlink Macro

Feb 9, 2010

I have a workbook open and my A column cells are filled with (example) Mike-1 in the first row Mike-2 in the second row and so on. Now I have another folder on the computer with Word documents that I want to hyperlink to. The corresponding Word file is named mike1. So I want Excel to go through column A and Hyperlink to the corresponding Word file.

View 6 Replies View Related

Create Hyperlink To Folder

Sep 4, 2009

I'm trying to create a link to a folder and to insert it in a cell. The folder name is: "C:DISCO CTEMPLATES #1". I tried to copy that text and paste it into the cell. Excel recognizes that as a hyperlink but when I click the cell a message appears: "Cannot open the selected file" Could the problem be because of the "#" symbol?

View 2 Replies View Related

Excel 2010 :: Hyperlink With IF Statement - Cannot Open Specified File

Aug 30, 2012

I Have a CheckBox Thats Linked with CA22

In Cell CB22 I have the Following Formula:

=IF(CA22=TRUE,"1","")

In Cell CC22 I Have...

=IF(CB22="1","RM-4E ADD1",HYPERLINK('RM-4E (Add - 1) (2)'!A1,"RM-4E ADD1"))

The Sheet namne its supposed to Hyperlink to is called

RM-4E (Add - 1) (2)

When the Check Box is Unchecked it Changes CA22 to False and Puts in CC22 Text: RM-4E ADD1

When the Check Box is Checked it CHanges CA22 to TRUE and is supposed to create a Hyperlink to that sheet...Only when i click it it comes back with

'Cannot open the specified file."

I even went as far as typing out the Word Hyperlink( clicked the sheet and selected Cell A1 on that sheet but it still comes back with the error!

Excel 2010

View 9 Replies View Related

Excel 2003 :: HYPERLINK To Open PDF File Reader

Feb 27, 2013

How do I create a hyperlink in an Excel 2003 file that will open a PDF file with Reader?

I have an Excel file of hundreds of Customer names and invoice numbers. I have a directory of PDF files. The name of each PDF file is the customer name, a space, and the invoice number. I should be able to have a column in the Excel file that contains a formula that creates a hyperlink to open the corresponding PDF file.

I used the HYPERLINK function and built the path and file by concatenating information. When I click the hyperlink, I keep getting an Excel error: Cannot open the specified file.

Do you think this problem is something of my own doing or some "undocumented feature" in Excel?

View 1 Replies View Related

Open Word Document From VBA

Jan 19, 2009

I'm trying to open a word document from excel using VBA. Here is my code.

View 5 Replies View Related

Open Word Doc And Format?

Jun 5, 2012

I need to open a blank word doc, paste a spreadsheet onto it, format it and filter out some keywords. All from excel of course.

1) Access the internet web page - done
2) Open the excel ss - done
3) Open word - not done
4) Paste the ss onto word - not done
5) Format the doc - not done
6) Filter out rows containing keywords - not done

Just to get started I tried this code to open an existing word doc but it doesn't work

Code:
Private Sub CommandButton1_Click()
Set wrdApp = CreateObject("Word.Application")
Set wrdDoc = wrdApp.Documents.Open("C:BShift.doc")
End Sub

It says file cannot be found. There is a file there named BShift in word 2010.

View 5 Replies View Related

Check If Word Is Open?

Apr 12, 2013

know a simple code that I can use in Excel VBA to simply check if Microsoft Word is open or not? I'm not worried about checking for a specific document, but just if the application is running or not.

View 3 Replies View Related

Shell To Open Word

Jun 2, 2009

not sure why this is not working, it is from Access I know this is the wrong forum but figured I haven't got any answers from anywhere else and it seems like a simple fix

this command fails... i am guessing its to do with the file path having spaces but don't know how to get it to work, what to insert so it will work.

Call Shell("V:Program Files (x86)Microsoft OfficeOFFICE11WINWORD.EXE / L:Best Practice ManualFull Labour Hire Best Practice Manual.doc", 1)

View 9 Replies View Related

Open Word File

Jun 7, 2007

I would like to open a word file in my Excel VBA code. The word document has its own VBA code that will run when Excel opens it. I do not need to move any data around I just want Excel to open my word doc.

View 4 Replies View Related

Excel 2007 :: How To Create Hyperlink Using VBA

Oct 26, 2012

I am using MS Excel 2007.

I have column "A" a list of my PDF filenames and File path in Column "B". I want to establish hyperlinks for each of these PDF filenames (column A) and link it with the file path that I generated in Column B.

=HYPERLINK(B1,A1) did it very well, but unfortunately when converting to PDF, the hyperlink is not working, and I believe the conversion retained is only in text, so now my only resort is hardcoding it by VBA.

View 5 Replies View Related

Using IF To Search For Text And Create Hyperlink?

Apr 28, 2014

I basically need a formula in one tab of a spreadsheet that if another cell contains text it will search for that text in another tab and display a useable hyperlink to it.

So I want a formula in A1 in Sheet1 that will search for the text contained in A2 in Sheet2 and display a useable hyperlink to the cell in which that text is contained, in Sheet2.

This may not even be possible, but if it is then that would save me SO much time.

View 6 Replies View Related

Use Script To Programmatically Create Hyperlink

Jan 31, 2014

I want to use script to programmatically create Hyperlink in multiple cells. The Hyperlink will trigger a macro event and run a simple command using the "PC Name" as input variable. The Hyperlink should have:

-Text to display: - different "PC Name" in each cell

-Type the cell reference: - corresponding to the cell where the Hyperlink is inserted

-Link to: - Place in This Document

I tried using cell formula, but it always default to "Existing File or Web Page".

ExcelHyperlink.png

View 2 Replies View Related

Use Active Cell To Create Hyperlink

Oct 7, 2008

I am trying to use an active cell (i.e. "Sheet2!E7") which always changes, to create a hyperlink on a different sheet to that particular cell. What is happening is I have a master list of current open POs. On a separate sheet I have the PO listed in greater detail. I want the PO number on my master list to have a hyperlink that brings you to my detailed PO on another sheet. Simply, I need a way to turn my active cell into text (not the contents, but the cell itself).

View 2 Replies View Related

Saved Sheet To Create Hyperlink

Nov 3, 2009

I have a workbook for Purchase orders.

how it works at the moment is when I fill in the Purchase prder sheet then save it, I have a macro that

Copies Sheet "Purchase Order" creates a new sheet to paste it to then also copies some details to A Sheet called "Register.

I would like to be able to (if possible)

1/ automaticly create a hyperlink between the P/o Nomber stored on the register as it is storing the new sheet &

2/ automaticly change the sheet tab to reflectthe P/order number in Cell G8

I have very little knowlage of VBA & am learning how to record macros so please be gentle.

here is the macro I recorded ....

View 6 Replies View Related







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