Hyperlink to open notepad type files in excel

dumbledown

New Member
Joined
Nov 8, 2010
Messages
28
When I click on the hyperlink to a file that has no extension, that I want to open in excel, it comes up with a "Cannot open the specified file" box.
It would open in automatically with a .txt extension, but as the files are generated automatically this is not ideal - a work around in excel would be preferable.

Any ideas on how to make files automatically open as CSV files of a certain format?

Thanks :eek:
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Thanks, but is there a way to do it that won't require rename the files as they are generated automatically?
 
Upvote 0
I doubt it as the file sits outside of excel.

I would perhaps write a small bat file that I could place into a folder to rename all the files with the .csv extension.

and then another to remove the extension once you've finished with it.
 
Upvote 0
Maybe you could write some code in Excel that would open them in Excel for you. Of course, you'd need Excel to be open already and I'm not sure if that's the behaviour you need.
 
Upvote 0

Forum statistics

Threads
1,216,081
Messages
6,128,695
Members
449,464
Latest member
againofsoul

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