Open .xls using Excel Viewer

Lyda_Faye

New Member
Joined
Feb 20, 2003
Messages
49
I have my code working to send a .xls to each person. It now opens if the user has MS Excel. But I'd rather use Excel Viewer because it restricts the user to only view and print options. So...

Can I attach a .xls file to an email that will open using Excel Viewer automatically? I want the attachment to always open up using Excel Viewer.

I tried it on an sample icon. It opens fine on the icon but I don't know how/where to code it in VBA of my Excel 2000.


The icon path reads:
"C:\Program Files\XLView\XLVIEW.EXE" " C:\Documents and Settings\lydia\Desktop\OSHA_101001.xls"
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
I believe that if a user has Excel, the viewer is not an option.

Note If you already have a full version of Microsoft Excel installed on your computer, do not install Microsoft Excel Viewer in the same directory. Doing so causes file conflicts. The default folder location in the installer is c:\Program Files\Xlview.

Why not use .pdf instead?

Smitty
 
Upvote 0

Forum statistics

Threads
1,218,069
Messages
6,140,263
Members
450,269
Latest member
adam62171

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