Macros in msword
HI all can anybody tell how to find macro coding in msword, i need to use it in ole, very urgent .
Hi Sudhir,
I think, as per ur previous questions, you have some problem with Borders. Do you want "borders" specific information or all OLE?
Let me know.
Venu
Similar Messages
-
Getting error while creating a blueprint from SOLAR01 in MSOFFICE2013
Hi,
I am newbie to solution manager. I have created one implementation project in solution manager. I have applied all the related process documents and test cases and configurations to all the business steps and processes.But while creating the business blueprint through SOLAR01, a business blue print document is created with blank page. I need to run the macro and i have set necessary settings for macros in MSWORD 2013. When i try to run the macro i am getting the follwing error : " Run time error 4605: This method or property i snot available because this document is not available for reading". Plz provide me some solution.
Thanks ,
RutvikHello,
try to check the check box in MS Word - File - Options - General - "Open e-mail attachements and other uneditable files in reading view"
I am not sure how this option really works, but I think you will find it checked. So try to uncheck it.
Or wise versa :c)
Kind regards -
Questions about ActiveX Bridge and SWT
Hi !
I found few weeks ago the www.reallyusefulcomputing.com site answering my question about Java & Macro of MSWord. Now I've found two steps that I am not able to overcome.
First, when I build a simple application and I have internal libraries to use, am I compelled to place the jars in the lib/ext directory of the Java Runtime Directory? I have many difficulties in placing a convenient class-path in the manifest file. Why does the application ignore the manifest string?
The second problem (and the biggest one) is that I am trying to build an SWT java-bean-application but I have problems during runtime. Is it possible to use this technology for my software or am I compelled to use AWT and SWING?
I really hope you can help me.
Thank you in advance.hi,
I have to catch events from excel sheet in my java code..events like some change in value or a click of some user defined button etc.I have written th follwoing code but it does not gives me any event.It simply opens the specified file in the excel in a seperate window.but when i click on the sheet or change some value no event is captured by my code....can ne one pls tell me how to go about it....
public class EventTry2 {
private Shell shell;
private static OleAutomation automation;
static OleControlSite controlSite;
protected static final int Activate = 0x00010130;
protected static final int BeforeDoubleClick = 0x00010601;
protected static final int BeforRightClick = 0x000105fe;
protected static final int Calculate = 0x00010117;
protected static final int Change = 0x00010609;
protected static final int Deactivate = 0x000105fa;
protected static final int FollowHyperlink = 0x000105be;
protected static final int SelectionChange = 0x00010607;
public void makeVisible()
Variant[] arguments = new Variant[1];
arguments[0]=new Variant("true");
//Visible---true
automation.setProperty(558,arguments);
//EnableEvent--true
boolean b =automation.setProperty(1212,arguments);
System.out.println(b);
public Shell open(Display display){
this.shell=new Shell(display);
this.shell.setLayout(new FillLayout());
Menu bar = new Menu(this.shell,SWT.BAR);
this.shell.setMenuBar(bar);
OleFrame frame = new OleFrame(shell,SWT.NONE);
File file= new File("C:\\Book1.xls");
try{
controlSite = new OleControlSite(frame, SWT.NONE, "Excel.Application");
this.shell.layout();
boolean a2=true;
a2=(controlSite.doVerb(OLE.OLEIVERB_SHOW|OLE.OLEIVERB_OPEN|OLE.OLEIVERB_UIACTIVATE|OLE.OLEIVERB_HIDE|OLE.OLEIVERB_PROPERTIES|OLE.OLEIVERB_INPLACEACTIVATE)== OLE.S_OK);
System.out.println("Activated::\t"+a2);
}catch(SWTException ex)
System.out.println(ex.getMessage());
return null;
automation = new OleAutomation(controlSite);
//make the application visible
makeVisible();
System.out.println("Going to create Event listener");
OleListener eventListener=new OleListener(){
public void handleEvent(OleEvent event){
System.out.println("EVENT TYPE==\t"+event.type);
switch(event.type){
case Activate:{
System.out.println("Activate Event");
case BeforeDoubleClick:{
System.out.println("BeforeDoubleClick Event");
case BeforRightClick:{
System.out.println("BeforeRightClick Event");
case Calculate:{
System.out.println("Calculate Event");
case Change:{
System.out.println("Change Event");
case Deactivate:{
System.out.println("DeActivate Event");
case FollowHyperlink:{
System.out.println("Activate Event");
case SelectionChange:{
System.out.println("Activate Event");
Variant[] arguments = event.arguments;
for(int i=0;i<arguments.length;i++)
System.out.println("@@");
arguments.dispose();
System.out.println("outside");
OleAutomation sheetAutomation=this.openFile("C:\\Book1.xls");
controlSite.addEventListener(sheetAutomation,Activate,eventListener);
controlSite.addEventListener(sheetAutomation,BeforeDoubleClick,eventListener);
controlSite.addEventListener(sheetAutomation,BeforRightClick,eventListener);
controlSite.addEventListener(sheetAutomation,Calculate,eventListener);
controlSite.addEventListener(sheetAutomation,Change,eventListener);
controlSite.addEventListener(sheetAutomation,Deactivate,eventListener);
controlSite.addEventListener(sheetAutomation,FollowHyperlink,eventListener);
controlSite.addEventListener(sheetAutomation,SelectionChange,eventListener);
shell.open();
return shell;
public OleAutomation openFile(String fileName)
Variant workbooks = automation.getProperty(0x0000023c);//get User Defined Workbooks
Variant[] arguments = new Variant[1];
arguments[0]= new Variant(fileName);
System.out.println("workbooks::\t"+workbooks);
IDispatch p1=workbooks.getDispatch();
int[] rgdispid = workbooks.getAutomation().getIDsOfNames(new String[]{"Open"});
int dispIdMember = rgdispid[0];
Variant workbook = workbooks.getAutomation().invoke( dispIdMember, arguments );
System.out.println("Opened the Work Book");
try {
Thread.sleep(500);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
int id = workbook.getAutomation().getIDsOfNames(new String[]{"ActiveSheet"})[0];
System.out.println(id);
Variant sheet = workbook.getAutomation().getProperty( id );
OleAutomation sheetAutomation=sheet.getAutomation();
return(sheetAutomation);
* @param args
public static void main(String[] args) {
// TODO Auto-generated method stub
Display display=new Display();
Shell shell=(new EventTry2()).open(display);
while(!shell.isDisposed()){
if(!display.readAndDispatch()){
display.sleep();
controlSite.dispose();
display.dispose();
System.out.println("-----------------THE END-----------------------------"); -
Macro to open and save as a value in a cell
How can I create a macro (I've named it Test) that will:
1.bring up the open dialogue box (to allow the user to choose a file)
2.save the file, with the file name determined by the text in cell A3 in .xlsx format
I have two pieces code that seem to work individually, but not together:
Dim strFileName As String
strFileName = Application.GetOpenFilename
If strFileName = "False" Then Exit Sub
MsgBox strFileName
ThisFile = Range("A3").Value
ActiveWorkbook.SaveAs Filename:=ThisFile
Thanks for the help!Hi
With very little change, this works for me. I just declared your last variable. (thisFile)
Sub test()
Dim strFileName As String, thisFile As String
strFileName = Application.GetOpenFilename
If strFileName = "False" Then Exit Sub
MsgBox strFileName
thisFile = Range("A3").Value
ActiveWorkbook.SaveAs Filename:=thisFile
End Sub
Cimjet -
Need scripting help to open and save 250 MSWord files
I'm clueless about programming and I have 250 Word files that need to be saved down as Word 5.1. I briefly tried to learn Word Macros, AppleScript, Automator, with no luck so far.
What's the best software to use for this and how do I do it? Is there already a script somewhere that I can download?
Thanks!I'm clueless about programming and I have 250 Word files that need to be saved down as Word 5.1. I briefly tried to learn Word Macros, AppleScript, Automator, with no luck so far.
What's the best software to use for this and how do I do it? Is there already a script somewhere that I can download?
Thanks! -
Memory usage of excel stays high after Macro is executed and excel crashes after trying to close it
Hi,
I'm trying to resolve an issue with an excel based tool. The macros retrieve data from an Oracle database and do calculations with the data. They also open and write into files in the same directory. The macros all run and finish the calculations. I can
continue to use and modify the sheet. I can also close the workbook, however excel memory usage I see in the windows Task manager stays elevated.If I close Excel it says: Excel stopped working and then it tries to recover information...
I assume something in the macro did not finish properly and memory was not released. I would like to check what is still open (connection, stream or any other object) when I close the workbook I would like to have a list of all still used memory. Is there
a possibility to do so.
Here the code I'm using, its reduced to functions which open something. Functions
get_v_tools() and get_change_tools() are same as get_client_positions().
Public conODBC As New ADODB.Connection
Public myPath As String
Sub get_positions()
Dim Src As range, dst As range
Dim lastRow As Integer
Dim myPath As String
lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
Sheets("SQL_DATA").range("A2:AD" & lastRow + 1).ClearContents
Sheets("SQL_DATA").range("AG2:BE" & lastRow + 2).ClearContents
Sheets("SQL_DATA").range("AE3:AF" & lastRow + 2).ClearContents
k = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
Sheets("ToolsList").range("A2:M" & k).ClearContents
'open connection
Call open_connection
lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
If lastRow < 2 Then GoTo ErrorHandling
'copy bs price check multiplications
Set Src = Sheets("SQL_DATA").range("AE2:AF2")
Set dst = Worksheets("SQL_DATA").range("AE2").Resize(lastRow - 1, Src.columns.Count)
dst.Formula = Src.Formula
On Error GoTo ErrorHandling
'new prices are calculated
newPrice_calculate (lastRow)
Calculate
myPath = ThisWorkbook.Path
'Refresh pivot table in Position Manager
Sheets("Position Manager").PivotTables("PivotTable3").ChangePivotCache ActiveWorkbook. _
PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
myPath & "\[Position_Manager_v1.0.xlsm]SQL_DATA!R1C2:R" & lastRow & "C31" _
, Version:=xlPivotTableVersion14)
ErrorHandling:
Set Src = Nothing
Set dst = Nothing
If conODBC.State <> 0 Then
conODBC.Close
End If
End Sub
Sub open_connection()
Dim sql_data, sql_data_change, sql_data_v As Variant
Dim wdth, TotalColumns, startRow As Integer
Dim rst As New ADODB.Recordset
Errorcode = 0
On Error GoTo ErrorHandling
Errorcode = 1
With conODBC
.Provider = "OraOLEDB.Oracle.1"
.ConnectionString = "Password=" & pswrd & "; Persist Security Info=True;User ID= " & UserName & "; Data Source=" & DataSource
.CursorLocation = adUseClient
.Open
.CommandTimeout = 300
End With
startRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row + 1
sql_data = get_client_positions(conODBC, rst)
wdth = UBound(sql_data, 1)
Sheets("SQL_DATA").range("A" & startRow & ":AA" & wdth + startRow - 1).Value = sql_data
'Run change tools instruments
startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
sql_data_change = get_change_tools(conODBC, rst)
wdth = UBound(sql_data_change, 1)
Sheets("ToolsList").range("A" & startRow & ":M" & wdth + startRow - 1).Value _
= sql_data_change
'open SQL for V tools instruments
startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
sql_data_v = get_v_tools(conODBC, rst)
wdth = UBound(sql_data_v, 1)
Sheets("ToolsList").range("A" & startRow & ":L" & startRow + wdth - 1).Value = sql_data_v
conODBC.Close
ErrorHandling:
If rst.State <> 0 Then
rst.Close
End If
Set rst = Nothing
End Sub
Private Function get_client_positions(conODBC As ADODB.Connection, rst_posi As ADODB.Recordset) As Variant
Dim sql_data As Variant
Dim objCommand As ADODB.Command
Dim sql As String
Dim records, TotalColumns As Integer
On Error GoTo ErrorHandling
Set objCommand = New ADODB.Command
sql = read_sql()
With objCommand
.ActiveConnection = conODBC 'connection for the commands
.CommandType = adCmdText
.CommandText = sql 'Sql statement from the function
.Prepared = True
.CommandTimeout = 600
End With
Set rst_posi = objCommand.Execute
TotalColumns = rst_posi.Fields.Count
records = rst_posi.RecordCount
ReDim sql_data(1 To records, 1 To TotalColumns)
If TotalColumns = 0 Or records = 0 Then GoTo ErrorHandling
If TotalColumns <> 27 Then GoTo ErrorHandling
If rst_posi.EOF Then GoTo ErrorHandling
l = 1
Do While Not rst_posi.EOF
For i = 0 To TotalColumns - 1
sql_data(l, i + 1) = rst_posi.Fields(i)
Next i
l = l + 1
rst_posi.MoveNext
Loop
ErrorHandling:
rst_posi.Close
Set rst_posi = Nothing
Set objCommand = Nothing
get_client_positions = sql_data
End Function
Private Function read_sql() As String
Dim sqlFile As String, sqlQuery, Line As String
Dim query_dt As String, client As String, account As String
Dim GRP_ID, GRP_SPLIT_ID As String
Dim fso, stream As Object
Set fso = CreateObject("Scripting.FileSystemObject")
client = Worksheets("Cover").range("C9").Value
query_dt = Sheets("Cover").range("C7").Value
GRP_ID = Sheets("Cover").range("C3").Value
GRP_SPLIT_ID = Sheets("Cover").range("C5").Value
account = Sheets("Cover").range("C11").Value
sqlFile = Sheets("Cover").range("C15").Value
Open sqlFile For Input As #1
Do Until EOF(1)
Line Input #1, Line
sqlQuery = sqlQuery & vbCrLf & Line
Loop
Close
' Replace placeholders in the SQL
sqlQuery = Replace(sqlQuery, "myClent", client)
sqlQuery = Replace(sqlQuery, "01/01/9999", query_dt)
sqlQuery = Replace(sqlQuery, "54747743", GRP_ID)
If GRP_SPLIT_ID <> "" Then
sqlQuery = Replace(sqlQuery, "7754843", GRP_SPLIT_ID)
Else
sqlQuery = Replace(sqlQuery, "AND POS.GRP_SPLIT_ID = 7754843", "")
End If
If account = "ZZ" Then
sqlQuery = Replace(sqlQuery, "AND AC.ACCNT_NAME = 'ZZ'", "")
Else
sqlQuery = Replace(sqlQuery, "ZZ", account)
End If
' Create a TextStream to check SQL Query
sql = sqlQuery
myPath = ThisWorkbook.Path
Set stream = fso.CreateTextFile(myPath & "\SQL\LastQuery.txt", True)
stream.Write sql
stream.Close
Set fso = Nothing
Set stream = Nothing
read_sql = sqlQuery
End FunctionThanks Starain,
that's what I did the last days and found that the problem is in the
newPrice_calculate (lastRow)
function. This function retrieves data (sets it as arrays) which was correctly pasted into the sheet, loops through all rows and does math/calendar calculations with cell values using an Add-In("Quantlib")
Public errorMessage as String
Sub newPrice_calculate(lastRow)
Dim Type() As Variant
Dim Id() As Variant
Dim Price() As Variant
Dim daysTo() As Variant
Dim fx() As Variant
Dim interest() As Variant
Dim ObjCalend as Variant
Dim newPrice as Variant
On Error GoTo Catch
interest = Sheets("SQL_DATA").range("V2:V" & lastRow).Value
Type = Sheets("SQL_DATA").range("L2:L" & lastRow).Value Id = Sheets("SQL_DATA").range("M2:M" & lastRow).Value Price = Sheets("SQL_DATA").range("T2:T" & lastRow).Value
daysTo = Sheets("SQL_DATA").range("K2:K" & lastRow).Value
fx = Sheets("SQL_DATA").range("U2:U" & lastRow).Value
qlError = 1
For i = 2 To lastRow
If (i, 1) = "LG" Then
'set something - nothing spectacular like
interest(i, 1) = 0
daysTo(i , 1) = 0
Else
adjTime = Sqr(daysTo(i, 1) / 365)
ObjCalend(i,1) =Application.Run("qlCalendarHolidaysList", _
"CalObj", ... , .... other input parameters)
If IsError(ObjCalend(i,1)) Then GoTo Catch
'other calendar calcs
newPrice(i,1) = Application.Run( 'quantLib calcs)
End If
Catch:
Select Case qlError
Case 1
errorMessage = errorMessage & " QuantLibXL Cal Error at: " & i & " " & vbNewLine & Err.Description
ObjCalend(i,1) (i, 1) = "N/A"
End Select
Next i
Sheets("SQL_DATA").range("AB2:AB" & lastRow).Value = newPrice
'Sheets("SQL_DATA").range("AA2:AA" & lastRow).Value = daysTo
' erase and set to nothing all arrays and objects
Erase Type
Erase id
Erase Price
Set newPrice = Nothing
Is there a possibility to clean everything in:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
End Sub
Thanks in advance
Mark -
Hello Experts,
I am creating a macro, where the requirement is; user would select few columns of a KF & hit on a macro.
The values in the KF should get multiplied by 2.
Any clue how should I add ( *2) functionality in operation / function ?. Any other suggestion is welcomed.
Please help
Regards
Rahul ChitteHi Rahul,
You can set the macro to run for few period.
1) In the step of the macro, select the period you want to run
2) Within the step, Results row (Key figure row 'XXX") = Key figure row 'XXX" * 2 (remember to maintain a space between * and 2)
3) Check the macro for any error, which would help you for any inconsistencies
4) activate the macro to test your requirement.
hope this would solve your requirment.
Regards,
Nawanit -
Dear all,
I have a couple of Word templates (in document libraries) that should have the filename and page count on the footer of the front page. It seams there is an issue with Word that these do not automatically update (MS kb 832897).
I am using word 2010, 64 bits.
This is solved with a Macro.
When placing the word with macro template in SharePoint, SP blocks it and the macros are not ran.
Any one with experience on this?
Thanks in advance.
GonçaloIt is not possible to run a macro in SharePoint after the document has been uploaded.
You can replicate this scenario by creating a SPItemEventReceiver which will run customized code on ItemAdded in your document library.
Please go through the following articles for details:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.aspx
http://msdn.microsoft.com/en-us/library/office/ms437502%28v=office.14%29.aspx
Please don't forget to mark it answered, if your problem resolved or helpful. -
How to call HR Macros in ABAP-Webdynpro
HI all,
I want to extract HR data in webdynpro view.
Where should I give Logical Database PNP?
The ifnotypes key word is not accepting in Webdynpro coding?
Where should I give GET PERNR event in Webdynpro?
When I use RP_PROVIDE_FROM_LAST .... says error message
Statement "RP_PROVIDE_FROM_LAST" is not defined. Check your spelling .
How to use the Macros in Webdynpro (VIEW) methods.
First time I'm working in ABAP-HR Webynpro.
Please help me out..
Thanks,
PrasadHi,
How did u solve this? pls provide the solution.
Regards,
Lakshmi. -
Calling HR Macros in ABAP-Webdynpro
HI all,
I want to extract HR data in webdynpro view.
Where should I give Logical Database PNP?
The ifnotypes key word is not accepting in Webdynpro coding?
Where should I give GET PERNR event in Webdynpro?
When I use RP_PROVIDE_FROM_LAST .... says error message
Statement "RP_PROVIDE_FROM_LAST" is not defined. Check your spelling .
How to use the Macros in Webdynpro (VIEW) methods.
First time I'm working in ABAP-HR Webynpro.
Please help me out..
Thanks,
PrasadHi,
I suspect that you are in a right forum. Please post it to appropriate forum. -
Can I launch a Macro from an IF statement in a Bus. Rule?
I am trying to write IF logic in a business rule to run a macro based on a Planning form-driven variable. However, my rule will not validate. For example:
IF([variable] == 'Budget')
%MYBUDGETMACRO(parm1, parm2, parm3);
ELSE
%MYOTHERMACRO (parm1, parm2, parm3);
ENDIF
Is it possible to do this? Thank you -I wrote this used-to-make-sense-but-now-just-tests-a-concept code (coming to a blog post soon, oooh, I know you can hardly wait): <--Sarcasm
FIX("Local", [varGlblYear], [varGlblScenario], [varGlblVersion])
/* Call macro to do focused Aggregation */
"Local"
IF(@ISMBR("Local"))
"Local" = #Missing ;
ENDIF
ENDFIX /* FIX("Local", [varGlblYear], [varGlblScenario], [varGlblVersion]) */And it validated just fine.
So I created a one line macro that has this code:
"Local" = Missing ;And then called it in an IF statement:
FIX("Local", [varGlblYear], [varGlblScenario], [varGlblVersion])
/* Call macro to do focused Aggregation */
"Local"
IF(@ISMBR("Local"))
%mcrConsHBRLocalEqualsMissing()
ENDIF
ENDFIX /* FIX("Local", [varGlblYear], [varGlblScenario], [varGlblVersion]) */HBR won't even let me validate it but throws an:
Encountered " <MACRO> "%
mcrConsHBREqualsMissing "" at line 19, column
35
blah
blah
blah
If I get rid of the IF statement and just do this:
FIX("Local", [varGlblYear], [varGlblScenario], [varGlblVersion])
/* Call macro to do focused Aggregation */
"Local"
%mcrConsHBRLocalEqualsMissing()
ENDFIX /* FIX("Local", [varGlblYear], [varGlblScenario], [varGlblVersion]) */It still fails.
So then I wrote this:
FIX("Local", [varGlblYear], [varGlblScenario], [varGlblVersion])
/* Call macro to do focused Aggregation */
%mcrConsHBRLocalEqualsMissing()
ENDFIX /* FIX("Local", [varGlblYear], [varGlblScenario], [varGlblVersion]) */Sucess!!! Boil in bag! (That's a Network54 joke, btw.)
So the issue isn't the IF statement, it's the calc block. You cannot insert macros into calc block statements. And since a calc block statement is required for using IF, a macro can't be used within an IF.
Regards,
Cameron Lackpour -
Hi APO Gurus...
I want to know how to use Drill_Up and Drill_ Down macros in batch jobs. they work beautifully in interactive mode, but when processed in batch jobs they drill up only for the particular CVC's at the aggregated level specified in the job. We are selecting all the characteristics in the aggregation level while creating the job. Then we want to drill up on particular characteristic. We are using a collective macro with first macto for drill up and second macro for calculations at the aggregated level. It works fine in interactive mode but drill_up doesnt seem to work in batch jobs.
Help neededHi,
You should not be using DRILL_UP and DRILL_DOWN functions in background jobs. Whatever processing you need to do after DRILL_UP should be a separate macro and that should be executed in background at the desired aggregation level (set for the job).
There is no point in using a collective macro with a DRILL_DOWN, processing and DRILL_UP steps in background job.
Thanks,
Somnath -
HP Officejet 6800 e-All-in-One-series - issues with printing from MSWord / Setup
I have been trying to set up the HP Officejet it seems for over 2 weeks - it works then doesn't - I dont want to return it but if it doesnt work proper .... I removed and reinstalled software - yesterday printed from MSWORD - today its not --- it will print pages off the internet but not from my MSWORD - its set up wirelessly - so frustrated - and what's worse is I am HP lover and now I cant even find a HP support phone number to call and I am pretty sure I remember being told while I was making my purchasing decision I could call HP for support with reference to set up when I bought the printer. Can someone tell me if the printer then not working is normal for this printer - with reference to printing MSWORD etc and if not is there some special place I am suppose to click to fix - thank you in advance
Hi @TheoD,
Welcome to the HP Forums!
Sorry to hear about your frustration with not being able to print from MS Word with your HP Officejet 6800 printer. But I am happy to help!
It is definitely odd that this printer is not printing from MS Word but will from the Internet. I am not seeing much documentation for an HP Officejet 6800, is it possible that you have the HP Officejet 8600? Just double-checking to make sure I provide the correct information. To find your printer's Product/Model Number follow instructions in this link. Finding Your HP Product Model Number.
For further assistance, I will also need to know what Operating System you are using. Windows or Mac? What version? If you do not know the Operating System you are using, please visit this website. Whatsmyos.
If you are using Windows, please try our HP Print and Scan Doctor, and let me know what happens!
Otherwise, if you still prefer to call someone, please call our phone support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. Country-language selector.
Have a nice day!
RnRMusicMan
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to say “Thanks” for helping! -
Difference between bex user exit and macros in functionality?
Hi all,
I need to create a report on material master data. I created an infoset on 0material and 0mat_plant. In the requirem
ent, I have a report containing different material numbers followed by attributes in each row. the final column in each
row should be calculated using logic. the logic involves comparing different row values and arrive at final conclusion.
the logic comprises of large number of if conditions. so should i use bex user exit or excel macros?
what is the difference between user exit and macros in funcitonalilty?
is there an issue transporting the macro to Prod for end users to use?
any performance criteria?
Any how to documents ..will be of a lot of help
plz send them to [email protected]
Message was edited by:
ravi aHi,
Macros offer a powerful and flexible way to extend the features of MS Excel. You can either create a macro using VB code or Record a macro. Use Alt+F11 for creating macro using VB code.
You can refer to Microsoft help site or this link for more details:
http://www.taltech.com/support/sw_tricks/exmacros.htm
User-exits are empty subroutines that SAP Developers have provided for you.You can fill them with your own source code.Technically this is a modification.Customer exits are nothing but a include in customer name space will be provided in the function module which starts with CALL CUSTOMER.You can fill them with your own source code.Technically this is an enhancement.
look into following links for procedure to find and use user-exits transaction for finding user-exits is 'SMOD'
http://www.sapbrain.com/TUTORIALS/TECHNICAL/user_exits_tutorial.html
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm -
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
Maybe you are looking for
-
Will the 1GB PC2-5300 memory module that I pulled out of my iMac work on a Mac Book?
-
Query to insert file in Oracle database 9.2.0.1.0
how can I can reafear to a file field of an oracle database 9.2.0.1.0 in a query? Thanks
-
My Laser Jet P2035n prints a job over and over until you cancel the job. The printer is rather new and had been working fine until I replaced the toner cartridge. In looking at the 'Advaced' tab of the Printer Properties, the number of copies is "1
-
IPod Classic 160 and Mac OS 10.5
Had a LOT of problems with this iPod as soon as unwrapped - slow. iceberg slow. Now it freezes, wont let me restore. Every iPod I have owned has had problems - two of them were replaced, one that was replaced messed up as well. I will not touch any m
-
Hi friends, There is an External API(from google) that I want to call. It requires me to send input as an xml that I am postint to HTTP POST option present in MII and passing it to the GOOGLE url for the api. In return it should give me an xml which