Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2004

Tip: Looking for answers? Try searching our database.

unexisted macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fenton - 06 Oct 2004 08:00 GMT
Hello experts...

This has been driving me crasy!!

I have this excel file which runs fine for the past few years on excel 97.
It had no problem at all until I upgraded my office to 2003.  Now, every
time I open this file, there is a warning saying that this file contains
macro and bla bla bla.....  Of course I can set the security level to low to
get away from this..  however, the thing is that I have never created a
macro for this file.. and in fact, when I go into tools->macro->macro, there
is no macro here.  So what is this "hidden" macro that the warning message
is warning about?  does anyone have any idea?  any way to get rid of it?

Thanks
Fenton
Frank Kabel - 06 Oct 2004 08:03 GMT
Hi
see:
http://www.contextures.com/xlfaqMac.html#NoMacros

Signature

--
Regards
Frank Kabel
Frankfurt, Germany


> Hello experts...
>
[quoted text clipped - 11 lines]
> Thanks
> Fenton
Fenton - 06 Oct 2004 16:22 GMT
Wow... it works!!!! thanks
This is what I found on every sheet:

   Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
   End Sub

I deleted them and the marco warning message is gone!  By the way, what does
that code do?  What was it there is the first place?

Fenton

> Hi
> see:
[quoted text clipped - 28 lines]
> > Thanks
> > Fenton
Frank Kabel - 06 Oct 2004 16:30 GMT
Hi
this code does nothing. Just the (empty) stub of an event procedure

Signature

--
Regards
Frank Kabel
Frankfurt, Germany


> Wow... it works!!!! thanks
> This is what I found on every sheet:
[quoted text clipped - 39 lines]
> > > Thanks
> > > Fenton
Dave Peterson - 06 Oct 2004 22:03 GMT
But this is where you'd put some code that would fire whenever you changed the
selection on that worksheet.

Try this against a test worksheet in a test workbook.  (rightclick on the
worksheet tab and select view code.  Then paste this into the code window:

   Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
       msgbox target.address
   End Sub

You'll see a message box each time you select a different range.

> Wow... it works!!!! thanks
> This is what I found on every sheet:
[quoted text clipped - 39 lines]
> > > Thanks
> > > Fenton

Signature

Dave Peterson
ec35720@msn.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.