Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Command Button Function - Macro

Hi All

Relatively new to Excel 2000.
I wish to use a command button on a work sheet, to start
a third party application, I am assuming this requires
writing a macro!
Once the third party application is running I will be
able to use the various "DDE" commands to talk between
Excel and the application.

Regards


NickH
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Command Button Function - Macro

Have a look at VB Editor help under SHELL which gives a good example ho
to manipulate external apps

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Command Button Function - Macro

Hi Brian

Thank you for the help, have done so and it works.

All I need to do now is to find out why something I can do in Access I
cannot do in Excel and that is to create a Macro or VB code through a
Command or toggle button to allow me to send a value(Word or Bit) to a
third party piece of software using DDE at a click of a Switch!
Works fine in Access.

Thanks

Nick



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Command Button Function - Macro

Don't really know what you mean. Probably because I haven't dealt wit
those posh new appplications that can use DDE. I have used DDE a bit t
use text files, but don't see how you can navigate screens in anothe
app. Presumably you get to base data somehow, which requires suitabl
access.

I use SendKeys to, for example, tab to the proper box and paste th
data using Ctrl+V.

Perhaps you can post a snippet of your Access to something else code
If it is VBA it should be practically the same in Excel

--
Message posted from http://www.ExcelForum.com

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
Use Macro To Change Which Macro Assigned To Command Button CVinje Excel Discussion (Misc queries) 0 May 25th 10 09:55 PM
Command button macro Mark N Excel Discussion (Misc queries) 6 August 28th 09 10:31 PM
Command Button and macro Bob[_16_] Excel Discussion (Misc queries) 4 June 12th 09 03:51 AM
Command Button to run a Macro Mark Allen Excel Worksheet Functions 2 June 4th 07 04:24 PM
Run Macro from Command Button [email protected] Excel Discussion (Misc queries) 1 April 23rd 07 04:36 PM


All times are GMT +1. The time now is 12:32 PM.

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

About Us

"It's about Microsoft Excel"