Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am fairly new to VBS, but dabble as much as I am able by addapting other
people's solutions. I need to learn how to do the following: I want a macro to: Select an address in Excel (let's say, "Sheet1 A1"), Open another Microsoft program (i.e. "C:\Program.exe"); The program opens with the curser in the correct box automatically; I want to then paste the data from Excel into the already selected box. I am working with something like this: Sub Macro1 () ThisWorkbook.Worksheets("sheet1").Range("a1").Copy Shell "c:\program.exe", vbNormalFocus Selection.PasteSpecial end sub The problem is that I don't know how to make the paste work in the new program. Vista, Excel 07, The non-office program is Microsoft Streets. Glenn |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
microsoft office excel cannot paste the data | Excel Worksheet Functions | |||
eula pops up every time i open an office program. office 2003 ins. | Excel Discussion (Misc queries) | |||
How can I get Office to activate a command in a non Office program | Excel Discussion (Misc queries) | |||
How do I set the default e-mail program for MS Office XP? | Setting up and Configuration of Excel | |||
Microsoft Office Excel cannot paste the data | Excel Discussion (Misc queries) |