Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
markvi
 
Posts: n/a
Default Macro works but buttons don't

I have an Excel macro that activates another application, then uses "Send
Keys" functions to access that application's menus. (The menu choices result
in exporting data from the called application into an Excel workbook.)

The macro works fine if I run it either from the Alt+F8 key command or the
Tools, Macros menu. But when I try to assign the macro to either a toolbar
button or a button object on a worksheet, it doesn't run all the way through.
It will switch to the other application, but only some of the SendKeys
functions seem to take place.

Can anyone offer guidance as to why the buttons will not work? Thanks in
advance.
--
- markvi
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
Deleting multiple Macro buttons Ant Excel Discussion (Misc queries) 3 June 13th 06 02:34 AM
Missing Macro Buttons on Toolbar Parker Excel Discussion (Misc queries) 3 March 24th 06 03:01 PM
Sharing macros and buttons that accompany the macro JDub Excel Discussion (Misc queries) 5 November 17th 05 10:16 PM
opening different programs with excel macro buttons shrek Excel Worksheet Functions 0 September 30th 05 12:41 PM
Spreadsheet print including macro buttons? gunga Excel Discussion (Misc queries) 4 February 10th 05 06:30 PM


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

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"