What will be ABAP adaptaion for this VB code

Hi Experts,
I am doing a program by integrating ABAP with EXCEL, i need to write the following code in ABAP which is recorded by macro.
I need to change the Category Type of the AXIS from Default to Text.
"ActiveChart.Axes(xlCategory).CategoryType = xlCategoryScale"
Thanks,
Venky

Hi,
Check below code.
H_EXCEL is the object of "EXCEL.APPLICATION" replace with yours in code.
Hope it works
DATA: H_EXCEL TYPE OLE2_OBJECT,
      H_ACHART TYPE OLE2_OBJECT,
      H_AXES TYPE OLE2_OBJECT.
GET PROPERTY OF H_EXCEL 'ActiveChart' = H_ACHART.
CALL METHOD OF H_ACHART 'Axes' = H_AXES EXPORTING #1 = 'xlCategory'.
SET PROPERTY OF H_AXES 'CategoryType' = 'xlCategoryScale' .
Regards,
Vishal

Similar Messages

  • I have an ipod shuffle 1st generation it will work if i connect it to my usb port in car or on computer but i can not get it to work using just headphones what coud be the reason for this

    I have an ipod shuffle 1st generation. it will work ousing usb port in car or on computer but i can not get it to play using headphones. what would be the reason for this.

    Sorry for  the typos, I hope my message still gets across!

  • What r the tables used for this report.

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.

    Hi Ashok,
    this is easy to do.
    Open Two SAP Screen with same user ID.
    Run SQL trace using ST05 transaction.Open ST05 transaction in One and make
    Trace on ,Run the report in another screen.
    Once report run is over.End the trace process and click on display trace in same ST05 transaction.There is a click button on ST05 Transaction screen to start trace
    process,End trace process and Display track process.
    The SQL trace will  give you all the table details which is used in that particular report.
    You have not mentioned about the report name so I have suggested this way.
    regards,nishant
    Please reward if this helps

  • What are the tables used for this Report

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.
    9994262112.

    hi
    good
    try with these tables,
    MARA
    KNA1
    thanks
    mrutyun^

  • My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    Hi,
    You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
    You can find a sample scripts if you google around.
    What do you mean "how to map any API to our staging table" ?
    You should do at least the following mapping (which column(s) in the staging table will provide these information):
    - the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
    - the value set values and  description
    Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do...

  • You think Apple will give us something for this?

    Do you think Apple will give us something in return for this chaos? Like maybe a free game or something? I have read soooo many stories and man its pretty messed up. Ive read ppl saying that "apple did not force them to update" but when ur iPhone says "New Update Available - 2.0" and you've waited since January for this, then they say that it will be here in March, then they say June then finally July....what do you think? There are some innocent people who just updated and were victims of this. This really s u c k s i know. but do you think apple will give us something for this?

    Some of you people are clueless. You act as if Apple is completely blameless. here's a newsflash for you: If a company makes a product available, they have a responsibility to the consumer that it works properly. That's the basic idea behind express and implied warranty laws. "Oh, but it's free...so you can't complain!" - It's not free, and you're not very smart. Apple provides software updates to keep consumers happy, and keep us using their products. it's built in to the cost of the iPhone. A cost of doing business, if you will. If it wasn't beneficial to them, why would they spend countless man-hours developing the code? because it's a happy, shiny world? Yeah, exactly.
    "But no one forced you to download the update!" - And no one forced them to make it available before the infrastructure was ready either. It's not as if Apple is new to this game. They had issues at launch. And I don't know about your job, but at mine...if I know I'm going to have issues, I make dang well sure I've got my bases covered next time around, so I have ZERO repeats. and given the scope of their marketing, it's not like Apple can say "Hurr, we didn't know it would be so popular, hur hur.".

  • I have problems in the initiation of the Encore process when opening presents the following error message : "Encore CS6 Cannot Run in Non-Royalty Serialized".... What is the best solution for this problem ?

    Help Me.
    What is the best solution for this problem ?

    Encore is activated when you activate Premiere Pro... so, as Stan asked, how did you install P-Pro?
    Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
    -and a fix for Encore http://forums.adobe.com/thread/1421765?tstart=0 in reply #7
    -plus more Encore http://helpx.adobe.com/encore/kb/cant-write-image-fie-larger1.html

  • Hi, I m using an iPhone 4 and my yahoo push email was working just fine but for the last few days I am experiencing some problem that is the emails are not getting pushed , I have to manually fetch the mails. So what could be the reason for this....

    Hi, I m using an iPhone 4 and my yahoo push email was working just fine but for the last few days I am experiencing some problem that is the emails are not getting pushed , I have to manually fetch the mails. So what could be the reason for this.....I have set the email setting to "push" mode. Moreover I can't edit the mail server address ....current it's on Yahoo SMTP server

    Will it get rectified and restored...if so after how long. What could be the reason for such outage kindly share,  as I am facing real problem because of this...

  • What’s the best practice for this scenario?

    Hi,
    My users want the ability to change the WHERE and/or ORDER BY clause at runtime. They may define user preferences on each screen ( which is bind to a view object). They want to see the same records based on WHERE/ORDER BY defined on the last visit. That is why I keep the users preferences and load the screen based on that, using :
    View.setWhereClause(...);
    View.setOrderByClause(...);
    View.executeQuery();
    This works good when only one user working with the application but faced low performance when more than one user working with the application.
    What are the points to increase the performance and what is the best practice for this scenario?
    Thanks for your help in advance.

    Sung,
    I am talking only about 2 users in my testing. I am sure i missed something but could not recognize that.
    This page is my custom query page including a tag to instantiate app module in stateful mode at the top <jbo:ApplicationModule..> and a tag to instantiate data source <jbo:Datasource...> and release tag at the bottom <jbo:ReleasePageResources..> and some java code in the middle(body). The java code constructed the query statement and then fires the query to set the view object based on the query statement using the above methods.
    So, I am facing very slow performance(speed) when two clients load this page at the same time. Looks like the entire application locks for others when one client load this page and fire the query. i realized the battle neck is where executeQuery() is executing.
    what do you think.
    Thanks in advance for your comments.

  • What will be the cost for iphone 5 replacement which is in warrenty but accidentally damaged.not screen it's just back glass of camera,so what will be cost to fix it or replace the phone in indian rupees, USD will work.

    what will be the cost for iphone 5 replacement which is in warrenty but accidentally damaged.not screen it's just back glass of camera,so what will be cost to fix it or replace the phone in indian rupees, USD will work.

    If you are in India, contact your local service center for a price quote. I don't know if Indian service centers can replace just the back glass or if they will need to replace the entire iPhone. To locate a service center, see:
    https://locate.apple.com/in/en/
    Make sure you select "iPhone" for the product time. Only certain service centers can handle iPhones.
    Regards.

  • Does camera raw support the Nikon D5300, if not when there will be an update for this camera model?

    Does camera raw support the Nikon D5300, if not when there will be an update for this camera model?

    The asterisk next the model number on the download page linked above means there is preliminary support, which usually means the camera is supported by pretending it is an earlier model with similar sensor.  This can lead to color issues, so while you can convert your NEFs to DNGs with the DNG Converter, and open them with PSE12, now, save your NEFs and be prepared to revisit those pictures once the final release of ACR 8.3 occurs probably in the next few weeks, with finalized support.

  • My iPhone 4G won't pair to my Acura TL after an update. Others are also having the same proble. What is Apple's fix for this?

    My iPhone won't pair to my Acura TL's Bluetooth. It worked fine when i first got it, and my iPhone 3GS paired flawlessly. Other on the 'Net have posted that their 4G won't pair with Bluetooth devices after the 4.0 update. What is Apple's fix for this?

    Actually, I don't let the phone discharge as a matter of habit. But you know you cant always get the charger to the phone in time, especially if you leave the house for more than a few hours. So now and then the battery dies. And doesn't Apple recommend completely discharging then recharging the phone from time to time.
    Anyway, the network here is solid. Like I said, this is a problem since I updated to ios7 and only occurs when the battery is discharged. It's a phone issue, not a carrier one.

  • My Lightroom 5 says I have a new update, but the download looks like it is trying to switch me over to creative cloud.  What will happen if I install this download?

    My lightroom 5 says I have a new update, but the download looks like it will switch me over to creative cloud.  What will happen if I install this download?

    What about the notification looks like it will switch over to the creative cloud?  I'd avoid it until you get a good answer to your question.

  • Hey, my iPhone 5 gets switched off on its own. Couldn't switch it on immediately. Have to put it for charging and gets switched on... What should i do now for this???

    Hey, my iPhone 5 gets switched off on its own. Couldn't switch it on immediately. Have to put it for charging and gets switched on... What should i do now for this??? when evr i go out this is one big problem i get... Couldn't use my fone.... Have to wait until i go back home...

    Start here www.apple.com/ca/support/ or call 1-800-263-3394.

  • What will I learn at the Hour of Code lesson next week at Apple retail stores? Also, what age group will be attending?

    What will I learn at the Hour of Code lesson next week at Apple retail stores? Also, what age group will be attending?

    If you had searched for it you would have found  Apple Retail Store - Hour of Code Workshop

Maybe you are looking for

  • How to Package Photoshop Extension for cs4/cs5 with manifest.xml

    Hello, tl;dr: How can I package my extension for both cs4 and cs5 in a way that respects the extension's window geometry? I have a panel that specifies window geometry in it's manifest.xml. When the panel is installed into Photoshop's panels/ folder,

  • Change labels Additional Customer Data

    Hi Expert Forum In the transaccion XD02 -> in the option "Additional Customer Data (Central)" I want to change the label "Attribute 1" for a new value for example "Customer Group" How can I do this?   Program name     SAPLV02Z         Screen number  

  • Responsive Scaling Makes Texts on The Buttons Disappear

    Hi, I made an animation which has buttons, their hover animation states, and text on each button. When I activate responsive scaling function and preview the result, texts on the buttons (which are located right half of the screen somehow) disappear!

  • Icloud ios taking forever to load why

    is there a fix for this prob

  • Bank account array list

    I'm very lost and need a push in the right direction. I am trying to get the balance of a bank account which is an array list of accounts and balances. The class I am working on is the Bank class. There is also a BankAccount class and a BankTester cl