Re: start up macro

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Jan De Messemaeker (jandemes)
Date: 08/19/04


Date: Thu, 19 Aug 2004 11:56:50 +0200

It should fire when you open that file.
If it doesn't can you send me the file?

OBTW you don't have a high virus protection in your Project Options have
you?

Jan De Messemaeker
Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/index.htm
32-495-300 620
"John Skipton" <anonymous@discussions.microsoft.com> schreef in bericht
news:1cad01c485cf$8f523370$a301280a@phx.gbl...
> thanks, it doesn't do anything though.
>
> I have literally just pasted the two lines you mentioned
> so that the code looks like:-
>
> Private Sub Project_Open(ByVal pj As Project)
> ViewApply "Gantt Chart"
> FilterApply "Remaining WG & SG Milestones"
> End Sub
>
> Is there anything else I should add?
>
> Rgds
>
> John
>
> >-----Original Message-----
> >Hi,
> >
> >Open the file
> >Alt+F11
> >In the leftmost window under VBAProject
> (nameofyourprojecyt) find
> >ThisProject, double-click
> >The window thisproject(code) pops up
> >Upper left select Project
> >
> >Code appears:
> >
> >Private Sub Project_Open(ByVal pj As Project)
> >
> >End Sub
> >
> >Between the two write the macro, for instance
> >
> >Viewapply "Gantt Chart"
> >Filterapply "Thisfilter"
> >
> >
> >HTH
> >
> >--
> >Jan De Messemaeker
> >Microsoft Project Most Valuable Professional
> >http://users.online.be/prom-ade/index.htm
> >32-495-300 620
> >"John Skipton" <anonymous@discussions.microsoft.com>
> schreef in bericht
> >news:05c501c4845f$613f3b70$a301280a@phx.gbl...
> >> I want a filter to be automatically applied as soon as a
> >> project file is opened. I assume the best way to do this
> >> is to record a macro that applies the filter and for
> that
> >> macro to be started when the file opens. How do I set
> this
> >> up??
> >>
> >> Rgds
> >>
> >> John
> >
> >
> >.
> >



Relevant Pages

  • Bericht mit Unterbericht
    ... Ich habe einen Bericht mit Unterbericht erstellt. ... ich ein Formular entworfen, mit Buttons, die die einzelnen Aktionen starten. ... Private Sub Report_Close ... warum ich meinen zusammengesetzten Bericht ...
    (microsoft.public.de.access)
  • Re: Bedingte Formatierung in Berichten (Basis eines Wertes eines F
    ... (Im Formular chkAusgeliefert, im Report chkWerbungProspekt). ... in welchem Ereignis ich den Code im bericht stellen muss. ... Private Sub Detailbereich_Format ... End If ...
    (microsoft.public.de.access)
  • Re: Datum aus vorgeschaltetem Formular in Bericht anzeigen
    ... Der Bericht selbst wird per rechte Maustaste und Öffnen geöffnet. ... Dann wird per Code das vorgeschaltete Formular aufgemacht: ... Private Sub Report_Open ... Ich kann jetzt z.B. dieses eingegebene Datum als Spalte in mein ...
    (microsoft.public.de.access)
  • AC00: Bericht mit Bildern
    ... Die Datenquelle für den Bericht ist eine SQL Abfrage mit "Select Data.*, ... Private Sub Detailbereich_Print(Cancel As Integer, ... Bilder werden trotzdem nicht angezeigt. ...
    (microsoft.public.de.access)
  • Re: Inputparameter Report
    ... >> ich habe einen Bericht mit einer Procedure und einem Parameter. ... >> Private Sub Report_Open ...
    (microsoft.public.de.access.clientserver)