Macros in excel?
Hi All,
I have an xcel file with macros in it... But wen I downloaded that file to my phone, it ended up showing me a blank xcel sheet...
Can any1 help me in dis regard.?
Solved!
Go to Solution.
I know it would be nice, but my computers have difficulty with some of the VBA scripts I have written being processor hungry... I hate to think how my phone would cope
If I have helped you, please hit the star at the bottom of my posts - it's appreciated!
Don't forget if your problem is solved to press the "Accept as Solution" button.
Similar Messages
-
Will macros in excel work properly if I switch Office 2013 32 bit to Office 2013 64 bit?
hi,
Will macros in excel created with Office 2013 32 bit work properly if i switch to Office Execl 2013 64 bit?
ThanksHi,
As far as I know, most of the macros might work well between 32bit and 64bit Excel. But there are some limitations for Excel 64bit:
Solutions using ActiveX controls library, ComCtl controls won’t work.
Third-party ActiveX controls and add-ins won’t work.
Visual Basic for Applications (VBA) that contain Declare statements won’t work in the 64-bit version of Office without being updated.
Compiled Access databases, like .MDE and .ACCDE files, won’t work unless they’re specifically written for the 64-bit version of Office.
More reference:
https://msdn.microsoft.com/en-us/library/ff700513(v=office.11).aspx
https://msdn.microsoft.com/en-us/library/ee691831(v=office.11).aspx
https://support.office.com/en-sg/article/Choose-the-32-bit-or-64-bit-version-of-Office-2dee7807-8f95-4d0c-b5fe-6c6f49b8d261?ui=en-US&rs=en-SG&ad=SG
If you have any further question about macros, I recommend you post the 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.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How to create a Macro in excel to store the excel data to Oracle Database
Hi All
Does anyone has created a macro in excel which on being run stores the excel data to Oracle database. In my project I need to create one such macro for updating oracle database with excel data and another for inserting excel records.
I tried doing this using a macro in MS access but Client wants its to be done using Excel Macro only.
Any help would be highly appreciated.
Thanks in advance..
ShikhaPlease read Chapter 19.7 Creating Selection Lists (http://download.oracle.com/docs/html/B25947_01/web_complex007.htm#CEGFJFED) of the Oracle® Application Development Framework Developer's Guide For Forms/4GL Developers 10g Release 3 (10.1.3.0)
Cheers,
Mick. -
Create a macro in Excel to capture Data from MS Project
We have a standard reporting tool which presents data in the format that our Head Office require. I currently copy/paste data from MS Project into the Excel spreadsheet however I would prefer to set up a macro in the Excel work to get the data from
the MS Project file however the macro only seems to pick up from the "paste" command.
Is it possible to set up a macro in Excel to copy data from MS Project?
M.L. PateYes, it is possible through VBA coding. Here is a simple:
http://stackoverflow.com/questions/9347874/how-to-copy-data-from-mpp-file-to-excel-using-macro
If you have programming/Code related questions, please post your question to the forum for Excel developer
http://social.msdn.microsoft.com/Forums/en-US/exceldev
Tony Chen
TechNet Community Support -
Using Macro in Excel How to open a SAP directly?
Hi,
Can Anyone Suggest and help me to do above Code in Excel,"Using Macro in Excel How to open SAP directly"
Example: I want to Open T.CODE: MM01 directly, without login in to SAP, Using Macro, i want to open SAP Directly, Anyone Suggest me how to do it?.............
I Tried this But it showing Run time Error'438', Object does not support this property or method........
VBCODE:
Dim sap As Object
Dim conn As Object
Sub T_login()
Set sap = CreateObject("SAP.Functions")
Set conn = sap.Connection
conn.System = "production"
conn.client = "800"
conn.user = "SAPUSER"
conn.Password = "123456"
conn.Language = ""
conn.Tcode = "MM01"
If conn.logon(0, False) Then
MsgBox "Logon to the SAP system is not possible", vbOKOnly, "Comment"
Else
End If
If Not IsObject(SapGuiApp) Then
Set SapGuiApp = CreateObject("Sapgui.ScriptingCtrl.1")
End If
If Not IsObject(Connection) Then
Set Connection = SapGuiApp.OpenConnection("production", True)
End If
If Not IsObject(session) Then
Set session = Connection.Children(0)
End If
session.findById("wnd[0]/usr/txtRSYST-MANDT").Text = "CLIENT"
session.findById("wnd[0]/usr/txtRSYST-BNAME").Text = "USER"
session.findById("wnd[0]/usr/pwdRSYST-BCODE").Text = "PASSWORD"
session.findById("wnd[0]/usr/txtRSYST-LANGU").Text = ""
session.findById("wnd[0]/usr/txtRSYST-LANGU").SetFocus
session.findById("wnd[0]/usr/txtRSYST-LANGU").caretPosition = 2
session.findById("wnd[0]").sendVKey 0
Set wshell = CreateObject("Wscript.Shell")
wshell.Run Chr(34) & Path & "\script.vbs" & Chr(34), 1, 1
End Sub
Anyone send me the Exact code related to this.................
Its very immediate requirement.................
Regards
KarthickHi Karthick,
You could try the following:
Sub Test()
If Not IsObject(SAPguiApp) Then
Set SAPguiApp = CreateObject("Sapgui.ScriptingCtrl.1")
End If
If Not IsObject(Connection) Then
Set Connection = SAPguiApp.OpenConnection("SYSTEMNAME", True)
End If
If Not IsObject(session) Then
Set session = Connection.Children(0)
End If
session.findById("wnd[0]/usr/txtRSYST-MANDT").Text = "123"
session.findById("wnd[0]/usr/txtRSYST-BNAME").Text = "USER"
session.findById("wnd[0]/usr/pwdRSYST-BCODE").Text = "PASSWORD"
session.findById("wnd[0]/usr/txtRSYST-LANGU").Text = "EN"
session.findById("wnd[0]/usr/txtRSYST-LANGU").SetFocus
session.findById("wnd[0]/usr/txtRSYST-LANGU").caretPosition = 2
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/tbar[0]/okcd").Text = "/nmm01"
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]").maximize
MsgBox "If you click on the OK button, the SAP session is terminated."
End Sub
SAP GUI should appear in the new design, you must do the following:
START -> All Programs -> SAP Front End -> SAP GUI Configuration -> Application -> Add -> excel.exe -> Open
If the program is started from a VBS file, it must be entered here wscript.exe.
Regards,
ScriptMan -
How can a macro in excel be executed through forms6i
Make macros in Excel ( with no parameters )
and do....
arglist := ole2.create_arglist;
ole2.add_arg(arglist, 'copy_vek_itog_sheet');
ole2.invoke(ex_app, 'Run', arglist );
ole2.destroy_arglist(arglist);
copy_vek_itog_sheet - name macro -
How to save macros in excel for all workbooks permanently?
HI all,
I have created macros in the Excel 2007 and have saved it. And its working fine. But i open the same excel sheet again, I cant see any macros in the excel sheet?
Can anyone pls let me know how to save the macros permanently in the Excel Sheet ?
Thanks
PoojaHi ,
I have saved as .xslx format but still the same unable to see the macros in the same excel sheet.
My intention is that when ever i open any excel sheet in the my computer those macros should be available for me!!
Thanks
Pooja -
Compatibility of macros in Excel 2010
Hi
I have some excel 2007 files (having some macros) and want to use them in excel 2010. I want to open those excel 2007 files in excel 2010. Does my macros works in excel 2010.
Can you please send some support documents.
Regards
AbhileshHi
Thank you for using
Microsoft Office for IT Professionals Forums.
For backward compatibility with earlier versions of Excel, such as Excel 97-2003 or Excel 2007, you can use one of several ways to exchange workbooks between
the different versions.
Work in Compatibility Mode You can open a workbook that was created
in an earlier version of Excel and work in Compatibility Mode so that the workbook remains in a file format that can easily be opened again in the earlier version. Compatibility mode is not available for Excel 2007 workbooks.
Download file converters You can use file converters that you
can download to open an Excel 2010 workbook in an earlier version of Excel.
Check a workbook for compatibility If you want to work in the
current file format but have to share a workbook with people who use earlier versions of Excel, you can check that the data is compatible with earlier versions of Excel. You can then make the necessary changes to avoid the loss of data or fidelity that might
occur when that workbook is opened in an earlier version of Excel.
More detailed information you can refer to this article: Use Excel Starter 2010 with earlier versions of Excel
http://office.microsoft.com/en-us/starter-help/use-excel-starter-2010-with-earlier-versions-of-excel-HA010387550.aspx?CTT=1
Additional, you can read this article to learn more: Application Compatibility for Microsoft Office 2010
http://blogs.technet.com/b/ptsblog/archive/2011/02/10/application-compatibility-for-microsoft-office-2010.aspx
All compatibility areas are getting addressed by the full set of tools and programs:
Feature-function change → Compatibility Inspector
ISV applications → OEAT
Add-in compatibility → OEAT
Maintenance/migration of macros → Compatibility Inspector
Maintenance/migration of scripts → Compatibility Inspector
Document fidelity → OMPM
Microsoft Office Code Compatibility Inspector user's guide
http://technet.microsoft.com/en-us/library/ee833946.aspx
Download:
Office 2010 Tool: Compatibility Inspector
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=23c8a7f6-88b3-48ef-9710-9742340562c0&displaylang=en
Changes in Excel 2010
http://technet.microsoft.com/en-us/library/cc179167.aspx
Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
I can do for you, please feel free to let me know.
Hope that helps.
Sincerely
William Zhou CHNPlease remember to mark the replies as answers if they help and unmark them if they provide no help. -
How do you execute macros in excel using forms--urgent
i want to execute a macro which is in excel from forms. i am using the dde built in. how ever when given the command
dde.execute ( conv_id,'[module1.macro1()]', 1000 );
i get an oracle error. and the macro does not get executed.
how ever when the same was tried for word it worked.
can any one help me in this regards
thanks in advance
sethuraman.rA db procedure as an autonomous transaction may be
sufficient for your needs.No. An autonomous transaction will run in its own transaction, but never in an asynchronous way.
Francois -
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. -
Need to create small macro in excel
Hi,
I have two tab in a excel sheet
Sheet one:
A B
WBSLevel2
LFINCT0116951
Task
Effort to Analyze
Task
Effort to Fix
Task
Monitoring Task
WBSLevel2
LFINCT0118382
Task
Effort to Analyze
Task
Effort to Fix
Task
Monitoring Task
WBSLevel2
LFREQ0150864
Task
Effort to Analyze
Task
Effort to Fix
Task
Monitoring Task
WBSLevel2
LFREQ0151759
Task
Effort to Analyze
Task
Effort to Fix
Task
Monitoring Task
WBSLevel2
LFINCT0118553
Sheet two:
A
LFINCT0116951
LFINCT0118382
LFREQ0150864
LFREQ0151759
LFINCT0118553
LFREQ0150823
LFINCT0117950
LFINCT0115636
LFINCT0118043
LFINCT0117840
LFINCT0114946
LFINCT0121200
Now my requirement is if I past list of data in sheet two then in sheet one should be look like as i shown above.
I want to make it dynamic using macro,for example if i past list of data with 5 records then in sheet two then in sheet one i should get only five set of data .
Please help me to write a macro that will automatically create data format as shown in sheet one.Hi,
I have two tab in a excel sheet
Sheet one:
A B
WBSLevel2
LFINCT0116951
Task
Effort to Analyze
Task
Effort to Fix
Task
Monitoring Task
WBSLevel2
LFINCT0118382
Task
Effort to Analyze
Task
Effort to Fix
Task
Monitoring Task
WBSLevel2
LFREQ0150864
Task
Effort to Analyze
Task
Effort to Fix
Task
Monitoring Task
WBSLevel2
LFREQ0151759
Task
Effort to Analyze
Task
Effort to Fix
Task
Monitoring Task
WBSLevel2
LFINCT0118553
Sheet two:
A
LFINCT0116951
LFINCT0118382
LFREQ0150864
LFREQ0151759
LFINCT0118553
LFREQ0150823
LFINCT0117950
LFINCT0115636
LFINCT0118043
LFINCT0117840
LFINCT0114946
LFINCT0121200
Now my requirement is if I past list of data in sheet two then in sheet one should be look like as i shown above.
I want to make it dynamic using macro,for example if i past list of data with 5 records then in sheet two then in sheet one i should get only five set of data .
Please help me to write a macro that will automatically create data format as shown in sheet one.
You dont need a macro to do that. You can do this using formulas. So for example: on Sheet1, B1 cell is =Sheet2!A1, B2 cell is =Sheet2!A5, B3 cell is =Sheet2!A9 ... -
Macros in EXCEL output from XMLP
Hi all,
I am using XMLP 5.5.
I would like to know if in the 'Excel' output we obtain using XML Publisher, can we have macros. If yes then how can one achieve it? A sample would help us in exploring further.
Thanks,
NitinHi Tim,
Thanks for the quick reply.
The so called 'Excel templates' have been demonstrated to clients in this year's Oracle Open House (San Fransisco) i guess, and it is from there, that the need to develop such complex reports have come. It seems there was a demo that was given out to all the participants on this new technology. It would be great if you can share the demo with me or send me same/its link to my mail id ([email protected]). It would be extremely helpful in mapping the requirements with the upcoming tools from Oracle.
Expecting the demo on this Excel templates from you. Awaiting the release of the new version soon.
Thanks,
Nitin -
VB UI builder, RAD, CASE Wizard for creating macro for Excel 2010?
Hello, I wonder if it is available a: rad, case, UI, framework, application wizard that using VBA as its engine may easy the process to create a macro excel 2010; here the link: https://www.dropbox.com/s/62r5wwgf0ziy5ht/sheet.xlsm to the sheet for an example
of what I mean. It is not about a macro recorder task; it is not interactive. Thank you.
Regards, GiuseppeThank you for your interest, this is another link for the same file: http://www.adrive.com/public/rBdrRn/sheet.xlsm
Regards,
Giuseppe -
How to upload data from excel to SAP using VB script or Macros
Hi Guys,
I want to make a macro enabled Excel sheet which i can use to upload huge data on SAP . I read some discussion but didnt get anything. Please help me with a step by step document.Hi,
Please refer below link.
Need help from Excel and SAP expert! [SOLVED]
http://visualbasic.ittoolbox.com/groups/technical-functional/vb-vba-l/call-transaction-in-sap-from-excel-vba-macro-and-download-alv-list-object-results-to-spreadsheet-3335996
Regards,
Rafi -
How to export the data from an excel file to Oracle database by using macro
Hi,
I want to export data from an excel file into Oracle database.There is one method that by creating the macros through excel we are able to do this.
can anybody please send me the code to create macros?
Thanks in advance.
Regards,
Surendra.VThere are several resources on the web, but you could start analyzing if this code fits your needs --> VBA Macro for Excel 2003 Export of Text File with Comma and Quote Delimiters.
~ Madrid
Maybe you are looking for
-
Get new pc and iTunes to populate music library from an external drive
Hey! any help on this would be appreciated. My PC died. Luckily my music was on an external drive. I got a new PC. I downloaded the latest iTunes. I can't get iTunes to populate all the music from my hard disc. I can get as far as preferences >
-
Hi, I have a wireless mighty mouse, and over the past couple of weeks I have noticed that the scroll wheel is acting funny. It will scroll down and side to side, but not up. This will happen sometimes then the mouse will start working normally again.
-
Can i change the subnet used by hotspot?
Since upgrading to iOS 7, when I use the hotspot functionality of my iPhone, my PC shuts down every time I join the hotspot network. The subnet is 172.20.10.x. My PC seems to have issue with certain 172.x.x.x subnets. This did not happen prior to the
-
AE 12.1.068 Update-Random Red Frame Still Happens-but fixed in PPro v7.2
OS 10.8.4 AE 12.1.068 Updated AE today and still have the random red frame when rendering.....source file ProRes422. This appears to be fixed in Premiere v7.2 tho. Anyone else still see this after update?
-
Love the iPhone, who to complain about activation illegal practices?
Dear Folks, I got my iPhone, failed the credit check and went with PrePaid. AT&T/iTunes presented me with a page telling my pin/phone # and where to go to fund it. It also had a FAQ saying that my iPhone is fully functional except for the phone part