Hi - I am pulling my hair out trying get data out of an excel workbook with many worksheets. Here is what I have tried.
DDERequest>Excel,[filename],Sheets(Resources).R%r%C1,field_1,10
but I guess this is incorrect because it just hangs up the macro scheduler.
Has anyone figured this out?
Need help on DDERequest on Excel
Moderators: JRL, Dorian (MJT support)
-
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
My experience is that regardless of which sheet is on top/active (which is what CTRL Page Up/Down selects in excel), DDERequest appears to always return the value from the first (leftmost tab), not the active, sheet in the workbook. The only way (I have found so far) to change which sheet is accessed is to move that sheet to be the first in the workbook with Edit, Move or Copy Sheet.JRL wrote:You can move through the sheets using ctrl + page up or page down.
Press CTRL
Press Page Up
Release CTRL
Hope this helps,
Dick