+ Reply to Thread
Results 1 to 2 of 2

Dde

  1. #1
    Registered User
    Join Date
    02-23-2010
    Location
    BeanTown
    MS-Off Ver
    Excel 2007
    Posts
    2

    Dde

    Hi,
    So I have a column of cells that are the combination of a other cells in the row and a result of a few "if functions." The value comes out exactly as planned however in order for the data to be sent to the DDE server I need to press F2, go the beginning of the cell to insert an "=" sign and then press enter. I would like a macro to do what I just mentioned and then go down to the cell in the column. I used to write code using C++, but I'm a little rusty and unfamiliar with VB. Below is the formula and then the result of the cell. Any information or suggestions would be greatly appreciated!

    =(IF(G10>0,"=ANVDdeSrv|"&B10&"!SendOrder"&L10&"NYSE_"&ABS(G10)&"_1_100_"&M10,IF(G10<0,"=ANVDdeSrv|"&B10&"!SendOrder"&L10&"NYSE_"&ABS(G10)&"_1_100_"&N10,)))
    ANVDdeSrv|AMD!SendOrder_Sell_NYSE_300_1_100_3.3

  2. #2
    Registered User
    Join Date
    02-23-2010
    Location
    BeanTown
    MS-Off Ver
    Excel 2007
    Posts
    2

    Excel 2007 Macro/VB Question Macro DDE

    So I currently have a macro that copies and paste the values from a cell that is populated by a DDE to a blank cell next to it. I'm trying to make a macro that will go into the cell where the data is pasted, "Press F2", and "enter" then go down to the next cell in the column. The data being copied from the other cell is actually a command for the DDE but I have to click on the cell after has been pasted into it, hit F2, and enter for the command to execute. I can't out how to build a macro to do so without the macro just pasting the samething from the first cell into each cell in the column. Please help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1