![]() |
How to open "bas" file?
I have two "bas" files that were created by exporting macros in the
Excel VBE. Why XP is treating them differently? In one case, when I click on the file, I get a pop-up that allows me to select the application to open the file. In the other case, when I click on the file, I get a pop-up that asks me if I want to run the file. When I look at the Property sheets for both files, they seem to have the characteristics. But of course, I might have overlooked a detail. Also, although the second "bas" file was indeed created by exporting in the VBE on __some__ computer, it was created on __this__ computer by downloading from an email attachement. I know that I can work around this different behavior either by appending ".txt" to the file name or by importing the "bas" file in VBE. But I am still curious why the two files behave differently. Any insights? |
How to open "bas" file?
Hi,
The intended way to open a bas file is to choose File, Import File in the Visual Basic Editor. if this helps, please click the Yes button Cheers, Shane Devenshire " wrote: I have two "bas" files that were created by exporting macros in the Excel VBE. Why XP is treating them differently? In one case, when I click on the file, I get a pop-up that allows me to select the application to open the file. In the other case, when I click on the file, I get a pop-up that asks me if I want to run the file. When I look at the Property sheets for both files, they seem to have the characteristics. But of course, I might have overlooked a detail. Also, although the second "bas" file was indeed created by exporting in the VBE on __some__ computer, it was created on __this__ computer by downloading from an email attachement. I know that I can work around this different behavior either by appending ".txt" to the file name or by importing the "bas" file in VBE. But I am still curious why the two files behave differently. Any insights? |
All times are GMT +1. The time now is 05:28 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com