Word -->> Excel

trillicomm

Board Regular
Joined
Feb 24, 2002
Messages
101
Hi,

I have Word open with a file. Need to create a macro in Word that does this:

Select All
Copy
Launch new Excel workbook
Paste

The macro needs to sit on the Word dashboard menu.

Is that possible?

Thanks for your valuable time!

t.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi trillicomm,

Have you done a search for the vba code to do this - there are many examples of this sort of thing on the web. As for assigning the code to a button on a menu, that process is described in Word's Help file.
 
Upvote 0
Sub OpenExcel()

' OpenExcel Macro

Shell ("D:\Program Files\Microsoft Office\Office10\excel.exe")

End Sub


That should work. Thank you.
 
Upvote 0

Forum statistics

Threads
1,225,400
Messages
6,184,761
Members
453,255
Latest member
excelbit

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top