VBA plotting problem

VBA plotting problem

Anonymous
Not applicable
399 Views
2 Replies
Message 1 of 3

VBA plotting problem

Anonymous
Not applicable
I've written a special purpose plot utility for a customer and one of the
last things he's asking for is the ability to do plotting with similar
functionality to the config option 'Use last successful plot settings'. Can
anyone either give me an example or suggest how this would be accomplished?

TIA,
Mike
0 Likes
400 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
What is it that you mean by "use last successful plot settings"? I ask as i'm writing a plot utility for my company now, and the way i am doing is that users pick the appropriate details from a form (plotter, paper size, plotstyle, number of copies etc), then pick the plot command button, which first saves the details of what was selected on the form to the registry, and then runs the plotting. When they go back to it, the program then uses the settings stored in the registry to populate the controls on the form.

Does this answer your question?
0 Likes
Message 3 of 3

Anonymous
Not applicable
Try this from VBA-help
Applies the plotting settings of the last successful plot.

object.UseLastPlotSettings

object - PreferencesOutput - The object or objects this property applies
to.

UseLastPlotSettings - Boolean; read-write

TRUE: Use the settings of the last successful plot as the current plot
settings.
FALSE: Do not use the settings of the last successful plot as the current
plot settings.



"Michael Trainor" skrev i meddelandet
news:7D36E04D1318B12501C1D3B516AD54B8@in.WebX.maYIadrTaRb...
> I've written a special purpose plot utility for a customer and one of the
> last things he's asking for is the ability to do plotting with similar
> functionality to the config option 'Use last successful plot settings'.
Can
> anyone either give me an example or suggest how this would be
accomplished?
>
> TIA,
> Mike
>
>
>
0 Likes