LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro from General to This Workbook

Can someone help me to get this code such that this macro only i
available to only one workbook- (This Workbook)

Public Declare Function SetTimer Lib "user32" ( _
ByVal HWnd As Long, ByVal nIDEvent As Long, _
ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
Public Declare Function KillTimer Lib "user32" ( _
ByVal HWnd As Long, ByVal nIDEvent As Long) As Long

I think I have to change public to something else, but how or...!?

Run

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

 
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
all General formats of the workbook changed to date format suddenl Miri Excel Discussion (Misc queries) 1 May 26th 08 09:24 PM
all the general formats of the workbook suddenly changed to date. Miri Excel Discussion (Misc queries) 2 May 25th 08 12:23 PM
general macro question ynissel Excel Discussion (Misc queries) 17 February 24th 06 03:15 PM
No password protect workbook box in Tools>Options>General MS Excel Discussion (Misc queries) 2 July 16th 05 06:34 AM
adopting a macro to a general situation. Martyn Excel Programming 4 May 25th 04 06:05 PM


All times are GMT +1. The time now is 03:24 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"