PC Review


Reply
 
 
jee22
Guest
Posts: n/a
 
      17th Oct 2003
Can anyone tell me how to auto run a macro as soon as you open
a sheet/workbook (excel 2000, win2000)

Thanks

Sap

--




 
Reply With Quote
 
 
 
 
Paul B
Guest
Posts: n/a
 
      17th Oct 2003
Put this in thethis workbook code

Private Sub Workbook_Open()
'your code here
End Sub


--
Paul B
Always backup your data before trying something new
Using Excel 2000 & 97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **
"jee22" <(E-Mail Removed)> wrote in message
news:bmocem$688$(E-Mail Removed)...
> Can anyone tell me how to auto run a macro as soon as you open
> a sheet/workbook (excel 2000, win2000)
>
> Thanks
>
> Sap
>
> --
>
>
>
>



 
Reply With Quote
 
jee22
Guest
Posts: n/a
 
      20th Oct 2003
Thank you, I tried that and it did not work
"Paul B" <(E-Mail Removed)> wrote in message
news:uxo6$(E-Mail Removed)...
> Put this in thethis workbook code
>
> Private Sub Workbook_Open()
> 'your code here
> End Sub
>
>
> --
> Paul B
> Always backup your data before trying something new
> Using Excel 2000 & 97
> Please post any response to the newsgroups so others can benefit from it
> ** remove news from my email address to reply by email **
> "jee22" <(E-Mail Removed)> wrote in message
> news:bmocem$688$(E-Mail Removed)...
> > Can anyone tell me how to auto run a macro as soon as you open
> > a sheet/workbook (excel 2000, win2000)
> >
> > Thanks
> >
> > Sap
> >
> > --
> >
> >
> >
> >

>
>



 
Reply With Quote
 
Paul B
Guest
Posts: n/a
 
      20th Oct 2003
You may have to change the macro security settings to get the macro to run.
Tools, macros, security

--
Paul B
Always backup your data before trying something new
Using Excel 2000 & 97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **
"jee22" <(E-Mail Removed)> wrote in message
news:bmvuk3$br2$(E-Mail Removed)...
> Thank you, I tried that and it did not work
> "Paul B" <(E-Mail Removed)> wrote in message
> news:uxo6$(E-Mail Removed)...
> > Put this in thethis workbook code
> >
> > Private Sub Workbook_Open()
> > 'your code here
> > End Sub
> >
> >
> > --
> > Paul B
> > Always backup your data before trying something new
> > Using Excel 2000 & 97
> > Please post any response to the newsgroups so others can benefit from it
> > ** remove news from my email address to reply by email **
> > "jee22" <(E-Mail Removed)> wrote in message
> > news:bmocem$688$(E-Mail Removed)...
> > > Can anyone tell me how to auto run a macro as soon as you open
> > > a sheet/workbook (excel 2000, win2000)
> > >
> > > Thanks
> > >
> > > Sap
> > >
> > > --
> > >
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
jee22
Guest
Posts: n/a
 
      20th Oct 2003
Thanks Paul ... I got there in the end .... very grateful


"Paul B" <(E-Mail Removed)> wrote in message
news:uf$(E-Mail Removed)...
> You may have to change the macro security settings to get the macro to

run.
> Tools, macros, security
>
> --
> Paul B
> Always backup your data before trying something new
> Using Excel 2000 & 97
> Please post any response to the newsgroups so others can benefit from it
> ** remove news from my email address to reply by email **
> "jee22" <(E-Mail Removed)> wrote in message
> news:bmvuk3$br2$(E-Mail Removed)...
> > Thank you, I tried that and it did not work
> > "Paul B" <(E-Mail Removed)> wrote in message
> > news:uxo6$(E-Mail Removed)...
> > > Put this in thethis workbook code
> > >
> > > Private Sub Workbook_Open()
> > > 'your code here
> > > End Sub
> > >
> > >
> > > --
> > > Paul B
> > > Always backup your data before trying something new
> > > Using Excel 2000 & 97
> > > Please post any response to the newsgroups so others can benefit from

it
> > > ** remove news from my email address to reply by email **
> > > "jee22" <(E-Mail Removed)> wrote in message
> > > news:bmocem$688$(E-Mail Removed)...
> > > > Can anyone tell me how to auto run a macro as soon as you open
> > > > a sheet/workbook (excel 2000, win2000)
> > > >
> > > > Thanks
> > > >
> > > > Sap
> > > >
> > > > --
> > > >
> > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
autorun from SD card - how to determine the original autorun directory Buthrakaur Microsoft Dot NET Compact Framework 1 23rd Jul 2007 03:35 PM
How can I fix autorun? =?Utf-8?B?Qm9i?= Windows XP Help 1 22nd Aug 2006 04:34 AM
autorun =?Utf-8?B?UHV0IFBQVCB0byBiZWQ=?= Microsoft Powerpoint 3 3rd Aug 2006 10:49 PM
Autorun Add-In A.M Microsoft Excel Programming 2 21st Sep 2004 04:19 PM
cd-rom autorun Luke Windows XP Hardware 4 25th Nov 2003 03:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:51 AM.