+ Reply to Thread
Results 1 to 2 of 2

How does this code link to the main report (at the press of a button)

  1. #1
    Registered User
    Join Date
    07-14-2011
    Location
    Manchester,England
    MS-Off Ver
    Excel 2003
    Posts
    11

    How does this code link to the main report (at the press of a button)

    Hey Guys,

    posted the below thread on mrexcel: http://www.mrexcel.com/forum/showthr...76#post3097876

    I'm now stuck with how that part of code creates the actual report I view at the end from the press of a button, Command 19 seems to just have:


    Please Login or Register  to view this content.
    So at this point all I've done to find out about this report and how it works is to press alt > V > D, it came up with "command19" as my name and now I've searched for it once I'd pressed the code button.

    Thanks for any help in advance, it's very much appreciated.

  2. #2
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: How does this code link to the main report (at the press of a button)

    DoCmd.OpenReport stDocName, acPreview

    This is a subroutine call that passes into the sub two parameters(stDocName, acPreview)

    --------------
    TagButton "Outstanding Until End of Month over £1000 Threshold by Value, Grouped by Section"

    This is a subroutine call that passes into the sub one parameters("Outstanding Until End of Month over £1000 Threshold by Value, Grouped by Section")

    ---------------------
    So now you need to find the other subroutines.
    Last edited by Dennis7849; 03-28-2012 at 11:48 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1