Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Control Excel from Word

In a newly created Word document, I created a reference to €˜Normal under
Tools References Normal. I was experimenting with a few different
techniques to use Word to open an Excel file. I got the macro working, but
now I can no longer use Ctrl+C to copy text!! I tried to end the reference
to Normal and I tried to remove the VBA module€¦nothing seems to work!! This
probably wouldnt be a problem at all, except for the fact that all every
single word.doc seems to be affected by this macro. My question is a
two-parter:

Does anyone have any suggestions as to how to end the Ctrl+C problem, and
just basically restore my word documents to the way they were before.

Also, does anyone have any suggestions as to how to open an Excel file from
a Word document? I tried things such as Insert Hyperlink, and Insert
Object. None of these things worked. What I really want to do is simply
open an Excel file on a network drive. I dont want to import the data from
the Excel file into my Word document.


Cordially,
Ryan---

PS, sorry if this posts twice; I didn't see it show up in the list even
though I could swear that I posted it earlier this morning... Also, sorry
for posting on the Word DG and now the Excel DG, but I didn't get a response
on the other DG.
--
RyGuy
--
RyGuy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Control Excel from Word

Not sure about your ctl-C issue, but I can tell you how to open Excel
Dim ExcelSheet As Object
Set ExcelSheet = CreateObject("Excel.Sheet")
ExcelSheet.Application.Visible = True

if you type createobject in your helpbar MS returns some nice instructions
on working with this
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"ryguy7272" wrote:

In a newly created Word document, I created a reference to €˜Normal under
Tools References Normal. I was experimenting with a few different
techniques to use Word to open an Excel file. I got the macro working, but
now I can no longer use Ctrl+C to copy text!! I tried to end the reference
to Normal and I tried to remove the VBA module€¦nothing seems to work!! This
probably wouldnt be a problem at all, except for the fact that all every
single word.doc seems to be affected by this macro. My question is a
two-parter:

Does anyone have any suggestions as to how to end the Ctrl+C problem, and
just basically restore my word documents to the way they were before.

Also, does anyone have any suggestions as to how to open an Excel file from
a Word document? I tried things such as Insert Hyperlink, and Insert
Object. None of these things worked. What I really want to do is simply
open an Excel file on a network drive. I dont want to import the data from
the Excel file into my Word document.


Cordially,
Ryan---

PS, sorry if this posts twice; I didn't see it show up in the list even
though I could swear that I posted it earlier this morning... Also, sorry
for posting on the Word DG and now the Excel DG, but I didn't get a response
on the other DG.
--
RyGuy
--
RyGuy

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Control Excel from Word

I found the cause fo the problem:
Tools Customize Keyboard Current Keys Remove

Thanks for the code John.

--
RyGuy


"John Bundy" wrote:

Not sure about your ctl-C issue, but I can tell you how to open Excel
Dim ExcelSheet As Object
Set ExcelSheet = CreateObject("Excel.Sheet")
ExcelSheet.Application.Visible = True

if you type createobject in your helpbar MS returns some nice instructions
on working with this
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"ryguy7272" wrote:

In a newly created Word document, I created a reference to €˜Normal under
Tools References Normal. I was experimenting with a few different
techniques to use Word to open an Excel file. I got the macro working, but
now I can no longer use Ctrl+C to copy text!! I tried to end the reference
to Normal and I tried to remove the VBA module€¦nothing seems to work!! This
probably wouldnt be a problem at all, except for the fact that all every
single word.doc seems to be affected by this macro. My question is a
two-parter:

Does anyone have any suggestions as to how to end the Ctrl+C problem, and
just basically restore my word documents to the way they were before.

Also, does anyone have any suggestions as to how to open an Excel file from
a Word document? I tried things such as Insert Hyperlink, and Insert
Object. None of these things worked. What I really want to do is simply
open an Excel file on a network drive. I dont want to import the data from
the Excel file into my Word document.


Cordially,
Ryan---

PS, sorry if this posts twice; I didn't see it show up in the list even
though I could swear that I posted it earlier this morning... Also, sorry
for posting on the Word DG and now the Excel DG, but I didn't get a response
on the other DG.
--
RyGuy
--
RyGuy

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Word through Excel Jocke Excel Programming 1 June 24th 05 03:38 PM
Word Control in Excel Stuart[_5_] Excel Programming 10 July 11th 04 08:47 PM
how to control word from excel Torstein S. Johnsen[_2_] Excel Programming 1 February 10th 04 02:10 PM
Print Control in Word/Excel Charles Maxson Excel Programming 0 December 30th 03 08:55 PM
Print Control in Word/Excel losmac[_2_] Excel Programming 0 December 30th 03 08:22 PM


All times are GMT +1. The time now is 07:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"