Someone PLEASE prove me wrong!
When I run the following procedure and set wb to a Workbook that contains macros, it opens just the Workbook just fine and I don't have to Enable Macros. The Macros run fine and do every thing they are supposed to do. My security settings are set to Medium (i.e. I should be asked to Enable Macros!), but this is still working. My PC at work is running Windows 2000 Pro and Office 2000 Premium.
Have I found the "Holy Grail" that allows us to open workbooks w/o Macro Confirmation?
Or is it because I haven't had my coffee this morning?![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)
What's Up?
Peace!![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
Mike
Never say Never!!!
Nothing is impossible!!!
When I run the following procedure and set wb to a Workbook that contains macros, it opens just the Workbook just fine and I don't have to Enable Macros. The Macros run fine and do every thing they are supposed to do. My security settings are set to Medium (i.e. I should be asked to Enable Macros!), but this is still working. My PC at work is running Windows 2000 Pro and Office 2000 Premium.
Code:
Sub OpenWorkbook()
Dim wb As String
wb = "Workbook_You_Want_To_Open_With_Path_&_File_Extention"
Application.Workbooks.Open (wb)
End Sub
Have I found the "Holy Grail" that allows us to open workbooks w/o Macro Confirmation?
![[wavey] [wavey] [wavey]](/data/assets/smilies/wavey.gif)
Or is it because I haven't had my coffee this morning?
![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)
What's Up?
Peace!
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
Mike
Never say Never!!!
Nothing is impossible!!!