Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Help with Enable Macro Error Msg (Excel 2007)

Jim Rech posted a registry tweak ....
See Ron de Bruin's page....

(Copy and paste is my friend!)

Jim Rech wrote:

I sleep through my share too, Ron. Good thing Dave and Tom are here to set
things right<g.

--
Jim
"Ron de Bruin" wrote in message
...
| Duh, I was sleeping when I reply I think <g
|
|
| --
|
| Regards Ron de Bruin
| http://www.rondebruin.nl/tips.htm
|
|
| "Jim Rech" wrote in message
...
| If your macro security settings are High when you open a workbook with
any
| code in it, it will be disabled. Try switching to Disable with
Notification
| under Excel Options, Trust Center, Macro Settings. Then you'll be able
to
| enable the macros.
|
| --
| Jim
| "DW" wrote in message
| ...
| | Sorry, forgot to mention that original workbook is template (xlt)
file.
| | Below is the save code:
| |
| | Sub save(file1 As Variant)
| | filepath = "C:\Report\"
| | On Error Resume Next
| | MkDir filepath
| | file1 = "Report - " & Range("B5").Value & " - " &
| | Format(Range("g4").Value, "mm-dd-yyyy")
| | ' Report Name
| | Report Date
| | filex = filepath & file1 & ".xlsm"
| | ActiveWorkbook.SaveAs Filename:=filex,
| | FileFormat:=xlOpenXMLWorkbookMacroEnabled
| | msg = "Your file has been saved at:"
| | msg = msg & Chr(13) & Chr(13)
| | msg = msg & filex
| | MsgBox (msg)
| |
| | End Sub
| |
| | "Ron de Bruin" wrote in message
| | ...
| | Show us your save code
| |
| |
| | --
| |
| | Regards Ron de Bruin
| | http://www.rondebruin.nl/tips.htm
| |
| |
| | "DW" wrote in message
| | ...
| | I just upgraded to Excel 2007. I have a simple little piece of code
that
| I
| | run for a report.
| | I saved the file as Excel Macro-Enabled Workbook.
| | Now whenever I try to run the code, I get an error message:
| | "The macros in this project are disabled.
| | Please refer to the online help or documentation
| | of the host application to determine how to
| | enable macros."
| |
| | Of course I tried looking on microsoft's site, to no avail and
Excel's
| | help...still nothing.....
| |
| | any suggestions/help??
| |
| | Don
| |
| |
|
|


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Error message when trying to record Macro Beth Excel Worksheet Functions 1 May 16th 10 08:32 AM
How do i enable all 1,00,000+ rows in excel 2007 free_ur_mind Excel Discussion (Misc queries) 2 April 12th 10 03:50 PM
How do I enable macro use in excel 2007 Tith Excel Discussion (Misc queries) 2 May 11th 09 05:27 PM
error bars in VBA excel 2007 macro Roland Charts and Charting in Excel 1 April 22nd 09 12:16 PM
Excel 2007 Enable Macro Prompt TheCornjerker Excel Discussion (Misc queries) 0 February 4th 08 04:59 PM


All times are GMT +1. The time now is 11:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"