Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 27
Default Problem to recognize macro

I am using a macro to direct the out print to two different printers and that
is ok,
But I am using a button in the sheet for it and when I am saving it as a
template and then are trying to use it I get the message cant find macro
€śsheet1!macro1€ť for example. The problem appers when I am saving it as a
template.

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default Problem to recognize macro

Instead of using a button from the Forms toolbar, use a commandbutton from the
Control Toolbox Toolbar.

And move your code to that button's _click event.

You may have to modify the code a bit, too.

Stefan wrote:

I am using a macro to direct the out print to two different printers and that
is ok,
But I am using a button in the sheet for it and when I am saving it as a
template and then are trying to use it I get the message cant find macro
€śsheet1!macro1€ť for example. The problem appers when I am saving it as a
template.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 27
Default Problem to recognize macro

Thanks Dave Peterson

It helpt me and everything is working good.

I am sorry that my question is on two places but I had forgotten to write my
e-mail address so I thought it was not published
/Stefan

"Dave Peterson" wrote:

Instead of using a button from the Forms toolbar, use a commandbutton from the
Control Toolbox Toolbar.

And move your code to that button's _click event.

You may have to modify the code a bit, too.

Stefan wrote:

I am using a macro to direct the out print to two different printers and that
is ok,
But I am using a button in the sheet for it and when I am saving it as a
template and then are trying to use it I get the message cant find macro
€œsheet1!macro1€ for example. The problem appers when I am saving it as a
template.


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
recognize formula datadude1959 Excel Worksheet Functions 4 April 5th 06 04:31 PM
Recognize #div/0! JOn Kunces via OfficeKB.com Excel Discussion (Misc queries) 1 July 14th 05 04:18 PM
recognize the cell Michael Excel Discussion (Misc queries) 0 June 21st 05 01:29 PM
recognize formatting Stan Altshuller Excel Worksheet Functions 1 March 30th 05 01:01 AM
Excel recognize "~" TWC Excel Worksheet Functions 9 December 30th 04 11:36 AM


All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"