Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Please Help With Function

I am half way there. The problem now that I need solved is that I need
to run a macro while it is hidden. When I protect the sheet I cannot
run the macro because it is protected. Any way around this?


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Please Help With Function

What I am doing is copying the result and using paste special to past
it back over. Is there a way I can use VB to Paste Special and past
those resultant values

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Please Help With Function

Macros are not protected and will run fine no matter what. In which way do you experience
problems, how do you start the macro ?

--
HTH. Best wishes Harald
Followup to newsgroup only please.

"dgmorr " wrote in message
...
I am half way there. The problem now that I need solved is that I need
to run a macro while it is hidden. When I protect the sheet I cannot
run the macro because it is protected. Any way around this?


---
Message posted from http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Please Help With Function

The reason I am trying to do this is to reduce the file size. Having al
that extra text from the function creates a much bigger file.

What I do is go to tools/macro/Run Macro. When I put the Protect Shee
mode on, the function will not run

--
Message posted from http://www.ExcelForum.com

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Please Help With Function

What I do is go to tools/macro/Run Macro. When I put the Protect Sheet
mode on, the function will not run.


Ok, if you say so...

Best wishes Harald
Followup to newsgroup only please.




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Please Help With Function

Sub ReduceSize()
ActiveSheet.Unprotect Password:="ABCD"
' perform you actions
ActiveSheet.Protect Password = "ABCD"
End Sub

--
Regards,
Tom Ogilvy

"dgmorr " wrote in message
...
The reason I am trying to do this is to reduce the file size. Having all
that extra text from the function creates a much bigger file.

What I do is go to tools/macro/Run Macro. When I put the Protect Sheet
mode on, the function will not run.


---
Message posted from http://www.ExcelForum.com/



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 Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Adding a custom function to the default excel function list DonutDel Excel Programming 3 November 21st 03 03:41 PM


All times are GMT +1. The time now is 07:19 AM.

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"