Are excel-macros running on IPad?
Instead of carrying my laptop, i would like to use an iPad.
I am using excel sheets with integrated macros.
Are these macros running on the iPad?
If yes, which app i have to use?
Thank you for your help
Chris
I've not seen any of the apps that can import Excel documents that can handle Excel macros, though it's possible I might have missed something. I rather doubt it, though, since macros depend on Microsoft's proprietary Visual Basic.
Regards.
Similar Messages
-
Hi
I have EAM 6.5 and Front End Exceladd 6.5 in 2003 with macros in it, both essbase and excel macros run through dll files
i upgraded my essbase to 11.2.2 and want o upgrade excel add in too but
whats are the basic changes that have to be done to the macros?you will need to import the new .bas file located in the exceladin\bin directory on your machine. Doing that alone in most cases will upgrade the code, but in come cases it will break functions ad parameters have changed
-
Running Excel macros from ABAP
Hello everyone,
I am trying to execute an Excel macro from an ABAP program. We are currently on a 46C system. While doing some research on help.sap.com I came across the method execute_macro in class i_oi_document_proxy. Ive never used methods in ABAP before and Im not really sure what Im doing. Has anyone got this to work? When I try to run the program it dumps with error OBJECTS_OBJREF_NOT_ASSIGNED.
Thanks,
Becky
Here is the program:
REPORT ztest_program.
INCLUDE ole2incl.
DATA gs_excel TYPE ole2_object .
DATA gs_wbooks TYPE ole2_object .
DATA gs_wbook TYPE ole2_object .
DATA gs_application TYPE ole2_object .
DATA: h_sheet TYPE ole2_object.
DATA: document TYPE REF TO i_oi_document_proxy.
*Name of the macro in Excel
DATA: macro_string(50) TYPE c
VALUE 'FB03process.FromTheBeginning',
no_flush TYPE c,
param_count TYPE i VALUE 0,
script_name TYPE c VALUE 'X',
error TYPE REF TO i_oi_error
OCCURS 0 WITH HEADER LINE,
retcode TYPE soi_ret_string,
error_string(50) TYPE c,
retvalue(30) TYPE c.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
text = text-007
EXCEPTIONS
OTHERS = 1.
CREATE OBJECT gs_excel 'EXCEL.APPLICATION' .
SET PROPERTY OF gs_excel 'Visible' = 1 .
GET PROPERTY OF gs_excel 'Workbooks' = gs_wbooks .
GET PROPERTY OF gs_wbooks 'Application' = gs_application .
*--Opening the existing document
CALL METHOD OF gs_wbooks 'Open' = gs_wbook
EXPORTING #1 = 'D:\temp\FB03process.xls' .
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
text = text-009
EXCEPTIONS
OTHERS = 1.
GET PROPERTY OF gs_excel 'ACTIVESHEET' = h_sheet.
CALL METHOD document->execute_macro
EXPORTING macro_string = macro_string
param_count = param_count
script_name = script_name
no_flush = no_flush
IMPORTING error = error
retcode = retcode
CHANGING error_string = error_string
retvalue = retvalue.
disconnect from Excel
FREE OBJECT gs_excel.
PERFORM err_hdl.
FORM err_hdl.
IF sy-subrc <> 0.
WRITE: / 'Fehler bei OLE-Automation:'(010), sy-subrc.
STOP.
ENDIF.
ENDFORM. " ERR_HDLHi,
Please correct me if I am wrong but it seems that you have not fetched a handle to the document object before issuing the statement CALL METHOD document->execute_macro. Hence the error OBJECTS_OBJREF_NOT_ASSIGNED is being dislayed. If you want to use SAP Desktop Office Integration using ABAP Objects, take a look at this article at http://www.intelligenterp.com/feature/archive/ or http://www.sapinfo.net/public/en/index.php4/article/comvArticle-193333c63b4bd807d2/en/articleStatistic
Hope this helps.
Regards
Message was edited by: Shehryar Khan -
How to run excel macros using lookout
Hi,
I want use Excel macros for generating custom reports.Is it possible to run macros using run object in lookout
thanksHi,
I am pretty sure you can activate macros in Excel using the Run object in Lookout. I can think of two ways you can do this:
1. You can setup your Excel to run macros on startup using the Auto_Activate method. In this case, you will just launch excel with your workbook using the Run object and that should run the macros automatically. No brainer!
2. To better control as to when the macros are run we can assign in Excel some shortcut keys for their launching. We then would need to simulate these keystrokes to launch our macros. This can be done using the SendKeys method and some scripting, WHS Scripting for instance. See this pos
t for a scripting example which simulates Alt+Tab keys to bring-to-front an app.
You will launch the script from the Run object and this in turn launches Excel and then simulates the keys for luanching the appropriate macros. I admit this is kinda involved, but hey it works!
Hope this helps,
Khalid -
Macro in Excel 2010 running 10 times slower
I wonder if anyone here could help or explain a strange behavior in Excel 2010! I believe it is a bug in Excel.
In one of my workbooks I had some macros which after running for a while started to slow down (several times slower)!
To make a long story short I striped down the Excel workbook and created 2 really simple workbooks: one runs a macro in 0.25 sec, and a second one that runs the same macro in 3.3 sec. Both have identical macros and identical formulas in Sheet1 (only one
Sheet in each workbook).
Moreover, the "Good copy" workbook slows down if the "Bad copy" is opened. Once the "Bad copy" is closed the "Good copy" gets back to speed.
If the Calculation is set to manual then both are running fast (this points to a workbook re-calculation delay).
If in the "Bad copy" I delete the three columns with formulas and I recreate them in new columns, then the "Bad copy" gets back to running fast again.
It seems that Excel will compute only the required cells when a cell changes, which makes sense.
However, in the "Bad copy" those three columns must have something that triggers a new calculation of that workbook every time the VB writes to a workbook even if the macro runs on another workbook! This is very strange to me!
These simplified workbooks contain only one trivial macro (I made them just to isolate the issue):
Sub simple_macro()
Application.ScreenUpdating = False
Dim starttime, taken
starttime = Timer
For i = 1 To 500
Cells(1, 5).Value = i
Next i
taken = Round(Timer - starttime, 2)
Cells(2, 5).Value = taken
Application.ScreenUpdating = True
End Sub
I do not think you can recreate easily the problem starting with a new workbook, so I wish there would be a way to post here the two copies! I was hoping that someone from Microsoft would take a look at the "Bad copy", because this behavior can
slow down anyone's macro without even knowing it! I think I have other workbooks with the same issue.
Thanks for any comments anyone might have!Hi,
This is the forum to discuss questions and feedback for Microsoft Excel, I'll move your question to the MSDN forum for Excel
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Excel macro will not run with OLE
I have an ABAP program which builds an Excel macro with VBA code, downloads the file and inserts it into a new Excel workbook, and then runs the macro to populate the workbook. All of this is being done via OLE functionality.
The process works correctly for 99% of our user community. However, some users are having trouble where when the Run Macro command is executed, the program just hangs and nothing happens.
Here's a snippet of the code:
CREATE OBJECT excel 'EXCEL.APPLICATION'.
Insert macro file into the spreadsheet.
CALL METHOD OF excel 'Modules' = ole_module NO FLUSH.
CALL METHOD OF ole_module 'Add' = ole_newmodule NO FLUSH.
CALL METHOD OF ole_newmodule 'Activate' = ole_activate NO FLUSH.
CALL METHOD OF ole_newmodule 'InsertFile' = ole_insertfile NO FLUSH EXPORTING #1 = macrofile.
FREE OBJECT ole_insertfile NO FLUSH.
FREE OBJECT ole_activate NO FLUSH.
FREE OBJECT ole_newmodule NO FLUSH.
FREE OBJECT ole_module.
Execute the macro(s).
macro_name = 'load_data_zsddxl'.
CALL METHOD OF excel 'Run' = ole_run EXPORTING #1 = macro_name.
FREE OBJECT ole_run.
The automation trace gives me this message (sorry about the formatting):
<26=Automation: CALL METHOD "Run" OF [#12/0x109B0C4C/101/Excel.Application.14]
#0: STRING "load_data_zsddxl"
<26=Automation(Error): CALL METHOD "Run"[DispID=259] OF [#12/0x109B0C4C/101/Excel.Application.14]
#0: STRING "load_data_zsddxl"
IDispatch::Invoke raised exceptionThe remote procedure call failed
<26=Automation(Error):
<26=Automation(Error): ****************************ERROR OCCURED IN MODULE: [Microsoft Excel Application]**********************************************************************************************************************************
<26=Automation(Error): PROGRAM_ID |MODULE_NAME |METHOD_NAME |ERROR DESCRIPTION |VERSION |GUI VERSION |MODULE_PATH |
<26=Automation(Error): **********************************************************************************************************************************************************************************************************************
<26=Automation(Error): Excel.Application.14 |Microsoft Excel Application |Run |The remote procedure call failed |14.0.5138.5000 |Gui Version not found |C:\PROGRA1\MICROS1\Office14\EXCEL.EXE |
<26=Automation(Error): **********************************************************************************************************************************************************************************************************************
<26=Automation(Error):
What's strange is that if after starting Excel I set the property VISIBLE = '1', everything works as expected.
The affected users are running on Windows7 with Excel 2010.
Thanks for any direction you can provide.No, I don't. It's been my understanding that by omitting the "NO FLUSH" from a command, that the accumulated commands are flushed at that point. But I'll give it a try. Willing to try anything at this point.
Thanks. -
I had previously purchased the programs "Pages" and "Numbers" and they are on my iPhone and iPad I was told that the programs would automatically copy a version of itself for the iMac to be running them but I don't see it installed. How can I install for free? I see that I could go to the apple store and purchase them again but I belibve that since I had already purchased them; I would get a free copy for my Imac. Do I got something confused here? Please help.
Whoever told you that was misinformed or lying. Those applications are sold separately for the iOS platform and the Mac platform.
Go to the Mac App Store to purchase Pages and Numbers for your Mac. They're $20 each. If you are running an older version of Mac OS X that can't use the Mac App Store, you can purchase install media from Apple. -
Photos are displayed very slowly in Photos app (IOS 8 running on iPad Air), when sliding them. Please: fix it. I'm very sad about IOS8
You are not speaking to Apple here. So none of us can "fix it."
TRy try quitting the Photos app followed by a reset of the ipad. To quit an app double click the Home button to reveal the row of recently used apps. Flick up on the page preview and it will fly away and disappear. That quits the app. Then Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot. -
How to run Excel Macros using JDBC-ODBC
Hi,
I want to run the excel macros in the excel file, after I connected to excel file, using JDBC-ODBC bridge.
How macros treated here?
Help needed please..........
- RameshHow to run Excel Macros using JDBC-ODBCYou don't.
As my fuzzy understanding goes.....
Macros (excel, word, etc) run via a "OLE" extension of the script host system.
So the only way to run them is via the OLE interface. That has nothing to do with ODBC. You can write your own JNI to do that, or you might get lucky and find that someone else has written a java library to do it for you. -
How to run excel macro from ole
hi to all experts.
i need to run excel macro from oleHi,
*& Report ZKC_TEST
*& Description: Fancy report output in XL
*&Programmer: Krishna Chauhan
*&Date: 20 Feb 09
REPORT ZKC_TEST.
* INCLUDES *
INCLUDE ole2incl.
*& TYPES *
TYPES: BEGIN OF ty_marc,
matnr TYPE marc-matnr,
werks TYPE marc-werks,
pstat TYPE marc-pstat,
lvorm TYPE marc-lvorm,
ekgrp TYPE marc-ekgrp,
END OF ty_marc.
TYPES: BEGIN OF ty_titles,
title(20) TYPE c,
field(20) TYPE c,
END OF ty_titles.
*& INTERNAL TABLES *
DATA: t_marc TYPE STANDARD TABLE OF ty_marc,
t_titles TYPE STANDARD TABLE OF ty_titles.
*& FIELD-SYMBOLS *
FIELD-SYMBOLS: <fs_marc> LIKE LINE OF t_marc,
<fs_titles> LIKE LINE OF t_titles,
<fs> TYPE ANY.
*& VARIABLES *
DATA: w_tabix TYPE sy-tabix,
w_titles TYPE sy-tabix,
w_line TYPE sy-tabix,
w_field TYPE string,
filename TYPE string,
path TYPE string,
fullpath TYPE string.
DATA: data_titles TYPE REF TO data.
DATA: e_sheet TYPE ole2_object,
e_activesheet TYPE ole2_object,
e_newsheet TYPE ole2_object,
e_appl TYPE ole2_object,
e_work TYPE ole2_object,
e_cell TYPE ole2_object,
e_color TYPE ole2_object,
e_bold TYPE ole2_object.
*& SELECTION-SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK b1.
PARAMETERS: p_file TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b1.
*& START-OF-SELECTION *
START-OF-SELECTION.
PERFORM get_titles.
PERFORM get_data.
PERFORM create_excel.
*& AT SELECTION-SCREEN *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL METHOD cl_gui_frontend_services=>file_save_dialog
EXPORTING
window_title = 'Select archivo'
default_extension = 'xls'
file_filter = '*.xls'
CHANGING
filename = filename
path = path
fullpath = fullpath.
IF sy-subrc EQ 0.
p_file = fullpath.
ENDIF.
*& Form get_titles *
FORM get_titles.
CREATE DATA data_titles TYPE ty_titles.
ASSIGN data_titles->* TO <fs_titles>.
<fs_titles>-title = 'Material'.
<fs_titles>-field = 'MATNR'.
APPEND <fs_titles> TO t_titles.
<fs_titles>-title = 'Plant'.
<fs_titles>-field = 'WERKS'.
APPEND <fs_titles> TO t_titles.
<fs_titles>-title = 'PSTAT'.
<fs_titles>-field = 'PSTAT'.
APPEND <fs_titles> TO t_titles.
<fs_titles>-title = 'Deletion Flag'.
<fs_titles>-field = 'LVORM'.
APPEND <fs_titles> TO t_titles.
<fs_titles>-title = 'EKGRP'.
<fs_titles>-field = 'EKGRP'.
APPEND <fs_titles> TO t_titles.
ENDFORM. "get_titles
*& Form get_data *
FORM get_data.
SELECT matnr werks pstat lvorm ekgrp
INTO TABLE t_marc
FROM marc
WHERE matnr = '000000000001013351'.
ENDFORM. " get_data
*& Form create_excel *
FORM create_excel.
w_line = 1.
CREATE OBJECT e_appl 'EXCEL.APPLICATION'.
SET PROPERTY OF e_appl 'VISIBLE' = 1.
CALL METHOD OF e_appl 'WORKBOOKS' = e_work.
CALL METHOD OF e_work 'Add' = e_work.
GET PROPERTY OF e_appl 'ActiveSheet' = e_activesheet.
SET PROPERTY OF e_activesheet 'Name' = 'Material Plants'.
LOOP AT t_marc ASSIGNING <fs_marc>.
w_tabix = sy-tabix.
w_line = w_line + 1.
LOOP AT t_titles ASSIGNING <fs_titles>.
w_titles = sy-tabix.
CALL METHOD OF e_appl 'Cells' = e_cell
EXPORTING
#1 = 1
#2 = w_titles.
SET PROPERTY OF e_cell 'Value' = <fs_titles>-title.
GET PROPERTY OF e_cell 'Interior' = e_color.
SET PROPERTY OF e_color 'ColorIndex' = 35.
GET PROPERTY OF e_cell 'Font' = e_bold.
SET PROPERTY OF e_bold 'Bold' = 1.
CALL METHOD OF e_appl 'Cells' = e_cell
EXPORTING
#1 = w_line
#2 = w_titles.
CONCATENATE '<fs_marc>-' <fs_titles>-field
INTO w_field.
ASSIGN (w_field) TO <fs>.
SET PROPERTY OF e_cell 'Value' = <fs>.
GET PROPERTY OF e_cell 'Interior' = e_color.
SET PROPERTY OF e_cell 'ColumnWidth' = 20.
SET PROPERTY OF e_color 'ColorIndex' = 0.
GET PROPERTY OF e_cell 'Font' = e_bold.
SET PROPERTY OF e_bold 'Bold' = 0.
ENDLOOP.
ENDLOOP.
CALL METHOD OF e_work 'SAVEAS'
EXPORTING
#1 = p_file.
CALL METHOD OF e_work 'close'.
CALL METHOD OF e_appl 'QUIT'.
FREE OBJECT e_appl.
ENDFORM. " create_excel -
Running Two Excel Macros simultaneously
Hi,
Can any one suggest me a way to run two excel macros from labview at the same time.
Regards,
SODLBCall them from syncronized parell loops...
Why would you need to do that? Seems like a good way to cause an error...
Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7 -
How to call excel macros programmatically in C#?
Hi,
I have a requirement where i need to call excel (2003) macros in C# program. Can anyone help me with a code snippet to do the same?
The excel macro function takes two input parameters? how can the parameters be passed?
Any code snippet to do the same in C# would be helpful.
Thanks.Hey there, Sid. I am tryin gto run your code, but I couldn't even gte it to fire. Here's what I ahve now:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Excel = Microsoft.Office.Interop.Excel;
namespace WindowsFormsApplication2
public partial class Form1 : Form
private void button1_Click(object sender, EventArgs e)
//~~> Define your Excel Objects
Excel.Application xlApp = new Excel.Application();
Excel.Workbook xlWorkBook;
//~~> Start Excel and open the workbook.
xlWorkBook = xlApp.Workbooks.Open("C:\\Users\\Ryan\\Desktop\\Coding\\Microsoft Excel\\Work Samples\\Work Samples\\Historical Stock Prices.xlsb");
//~~> Run the macros by supplying the necessary arguments
xlApp.Run("ShowMsg", "Hello from C# Client", "Demo to run Excel macros from C#");
//~~> Clean-up: Close the workbook
xlWorkBook.Close(false);
//~~> Quit the Excel Application
xlApp.Quit();
//~~> Clean Up
releaseObject(xlApp);
releaseObject(xlWorkBook);
//~~> Release the objects
private void releaseObject(object obj)
try
System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
obj = null;
catch (Exception ex)
obj = null;
finally
GC.Collect();
When I hit the play button nothing happens. When I hot F5 nothing happens. Do you ahve any idea what I'm doing wrong. I'd appreciate any advice with this!!
Thanks!!
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Excel macro error after deploying in Weblogic
Halo,
I have written excel macros and it is working fine.
but if the same file if i try to open from hyperlink after deploying in Weblogic server , I get the error
"error occured initializing the VBA libraries.
If Microsoft Visual Basic for Applications (VBA) was not installed, or was set to Install on first use,
(advertised, or set to install on demand) you may receive this error message.
Depending on the mode of installation used and the rights of the user to change current settings,
it is possible to install VBA through Control Panel, Add/Remove Programs, Microsoft Office, Add or Remove
features. If Visual Basic for Applications is not listed as an installable feature of Office, the administrator
of your system may have disabled it so it is impossible for you to install it. If VBA is not installed,
it is impossible to run VBA applications/projects on this computer. "
1. Even though Excel VBA application is installed in my machine , why am i getting this error.??
2. I would like to know is there any way to open the excel file even though if the excel software is not installed in client machine??
Appreciate your help.
Thanks.Hi,
I do not see any reason for this to not work.
Is there any difference between the preferences for RX and RXI. Please go to "edit" -> "Preferences" -> "Security(Enhanced)" and uncheck "Enable protected mode at startup".
Are you able to open any pdf from command line with the same command:
"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" <<PDF_FILE>>
Thanks,
Amish. -
Hey there, I am a chemist so Labview and programming aren't exactly my strong point.
We have a Labview program that we run to control and automated valve manifold that has a thermocouple and pressure transducer that displays the temperature and pressure on the "front panel" of the labview file we run. The temperature and pressure of the manifold changes in real time while the labview is running. We must attach a sample to the manifold, take the pressure and temperature, then record those values in an excel spread sheet, one at a time.
What I would like to do is make a key board macro in excel to automatically type in the current read out of the temperature (and another for pressure) into which ever selected excel cell you are on, so that you don't have to switch back to the labview window to look at it. I have a very basic understanding of macros in VB but I don't know how to get the labview to make the read outs available for the excel macros to find it.
Thanks for the help, Here is a screen shot of the block layout of the program.
Attachments:
back.JPG 79 KBWhy not have LV put the data in Excel for you? You can use Actvie X to do this. There is plenty of information on the forum and knowledge base on how to use Active X and reporting to Excel. Plus you have the example finder. Do you have the Report Generation Toolkit? LV7 is quite old, so I don't know if this is an option for you.
Reese, (former CLAD, future CLD)
Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home -
Best way to access Excel & Word documents on iPad
On my iMac I have a number of EXCEL and WORD documents created with Excel / Word MICROSOFT for MAC 2011.
I want to access these Word and Excel documents on my iPad.
I am confused as to what is the best way to do this. Pages & Numbers with iCloud ........ or ....... CloudOn, the free, cloud based service that lets you run Word and Excel on the ipad????
When we are on holidays I need to VIEW or UPDATE Excel and Word documents on my iPad and then when we get home update my iMac with any changes that I may have made.
I do not need to print from my iPad whilst on holidays, only view and update.
Has anyone had experience with Pages and Numbers on their ipad using documents created with Microsoft for Mac 2011 on their Mac computer. Does it work well and is it user friendly doing what I want it to do as detailed above?
ThanksThanks for that info Skydiver119.
I was hoping that if I had the apps 'PAGES' (for my Word docs) and 'NUMBERS' (for my Excel docs) loaded on my iPad that I would be able to access my documents without having to have internet access.
I understand that to get them there in the first place I need internet access and then to update back to my iMac when I get back home I would need internet access.
I am relatively new to iPad & apps etc. so maybe I have misunderstood the concept. I thought that having the apps loaded onto my ipad, would mean that my documents would be there to access/edit/update when ever I needed to. I mean of course, as I have already said above, once downloaded either by syncing through iTunes or iCloud to start with.
Can you (or anyone else!) please help with this
Thanks
Maybe you are looking for
-
When Ipod is connected to Itunes, music that is used to have is listed, but, when disconnected, the ipod appears as if there is no music. Hasn't happened to the movies. Anyone have any ideas?
-
Frame rate = One picture in 5 seconds?
Hi, I am capturing video from a web cam in rgb. I want to send only one picture in five seconds across the network (Frame Rate = 0,2). This does not seem to work. My code: Object frameRate = processor.getControl("javax.media.control.FrameRa
-
SQL Developer Data Modeler Repository
Hi, I would like to know how to save all my applications into the Data Modeler Repository instead of doing it piece by piece and having to create a dmd file for every single application I imported into Data Modeler. In Oracle Designer, everything is
-
PE White Balance for separate color tables
I'm trying to use 24-patch color checker. I already have image collected. But they are not exactly 6500K and 2850K. Can I use the images to create separate color tables ?
-
My applet does not show in ie.
I did the creating your first applet: (HelloWorld!) http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html#3 I have done everything here, http://support.microsoft.com/default.aspx?scid=kb;en-us;Q168806 with no luck. I have selected "J