Results 1 to 14 of 14

Thread: [RESOLVED] Link from word to Excel cell

  1. #1

    Thread Starter
    Lively Member ashokkumard's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    119

    Resolved [RESOLVED] Link from word to Excel cell

    Hi all,

    I want to give a link from a word file to excel file that too for a particluar cell in that excel file. The same text will appear in word file also. If i made any correction or changes in that excel file then that same changes will also be affect in the word file also. Is it possible..?

    Thanks in advance....
    Thanks
    Ashok

    Nothing is permanent except changes!..

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Link from word to Excel cell

    You mean have both apps show the same link and updates?
    Can you give an example?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Lively Member ashokkumard's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    119

    Re: Link from word to Excel cell

    Hi Rob

    I don't want the link in both the file. I need the link only in word file, the excel file will act as a reference for that word file. I took a Particluar cell value and display the text in word file then i have to give the link. If i made changes in Excel file then the same will reflect in word file also tats the thing i want. Sorry Rob right now i haven't any sample with me, one of my client asked me if it is possible or not.?
    Thanks
    Ashok

    Nothing is permanent except changes!..

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Link from word to Excel cell

    Yes, thats a default action of a link if you set it to update if I remember correctly. How are you adding the link?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Lively Member ashokkumard's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    119

    Re: Link from word to Excel cell

    sorry still i didn't written any code for this. Just i am trying to do with the hyperlink concept, but can't able to complete.
    Thanks
    Ashok

    Nothing is permanent except changes!..

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Link from word to Excel cell

    It should just be a format issue when you Insert Hyperlink. You can add on the sheet/cell address. I cant remember the correct syntax but if you try a Forums search Im sure you will come across something.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Lively Member ashokkumard's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    119

    Re: Link from word to Excel cell

    Yeah thank you Rob. Sure i'll search....
    Thanks
    Ashok

    Nothing is permanent except changes!..

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Link from word to Excel cell

    I remember doing this years ago. You just add a link to a excel sheet/cell and the contents of the cell update in Word whenever they are changed in excel.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9

    Thread Starter
    Lively Member ashokkumard's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    119

    Re: Link from word to Excel cell

    Hi Rob

    Somewhat i got the answer, Just i copy the particular cell from Excel file and paste as hyperlink (There is an option provided in Edit menu) in the word document will almost solve this issue.

    Anyway thanks....
    Thanks
    Ashok

    Nothing is permanent except changes!..

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [RESOLVED] Link from word to Excel cell

    Ah, found it for Word 2007 as there is no edit menu.

    Create a hyperlink by copying and pasting from an Excel worksheet
    Open the Excel worksheet that you want to link to, and select a cell or range of cells to link to.
    Right-click and then click Copy on the shortcut menu.
    Open the Word document where you want to add a hyperlink.
    On the Home tab, in the Clipboard group, click the Paste arrow, and then click Paste as Hyperlink.
    Only thing is that my Paste as hyperlink is disabled for some reason.
    [/color]
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  11. #11

    Thread Starter
    Lively Member ashokkumard's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    119

    Re: [RESOLVED] Link from word to Excel cell

    Sorry Rob, right now i am working with word 2003 only. Me too have the same problem in 2003, when i copy a cell from Excel then press Esc key and then came to word file edit menu after this i can able to see the disabled paste as hyperlink.
    Thanks
    Ashok

    Nothing is permanent except changes!..

  12. #12
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [RESOLVED] Link from word to Excel cell

    Did you try it on a saved workbook or a temp one? I tried a temp one and was wondering if that was a possible reason.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  13. #13

    Thread Starter
    Lively Member ashokkumard's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    119

    Re: [RESOLVED] Link from word to Excel cell

    Yes i done this in saved Excel and word document. In 2003 for me also it's not working in temp excel file. :-(
    Thanks
    Ashok

    Nothing is permanent except changes!..

  14. #14
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [RESOLVED] Link from word to Excel cell

    Try a saved file.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width