Background colours in Bex.

Hi all,
How can v apply the background colors to the rows and columns, other than exceptions. I know there is way thru macros but i dont know how to write the vb code for that. is der possiblity to do the same in BEx without macros plz let me know. i had a sample code for the macro when i try to run dis its giving me error 400, what may b the error.
Sub Update_Row_Colors()
    Dim LRow As Integer
    Dim LCell As String
    Dim LColorCells As String
    'Start at row 7
    LRow = 7
    'Update row colors for the first 2000 rows
    While LRow < 2000
        LCell = "C" & LRow
        'Color will changed in columns A to K
        LColorCells = "A" & LRow & ":" & "K" & LRow
        Select Case Left(Range(LCell).Value, 6)
            'Set row color to light blue
            Case "007007"
                Range(LColorCells).Interior.ColorIndex = 34
                Range(LColorCells).Interior.Pattern = xlSolid
            'Set row color to light green
            Case "030087"
                Rows(LRow & ":" & LRow).Select
                Range(LColorCells).Interior.ColorIndex = 35
                Range(LColorCells).Interior.Pattern = xlSolid
            'Set row color to light yellow
            Case "063599"
                Rows(LRow & ":" & LRow).Select
                Range(LColorCells).Interior.ColorIndex = 19
                Range(LColorCells).Interior.Pattern = xlSolid
            'Default all other rows to no color
            Case Else
                Rows(LRow & ":" & LRow).Select
                Range(LColorCells).Interior.ColorIndex = xlNone
        End Select
        LRow = LRow + 1
    Wend
    Range("A1").Select
End Sub
Thanks

Hello KK,
Please see the following doc
[SAP BW Macros for Advanced Formatting of SAP BEx Reports ( 3.x )|http://www.netsaptech.com/SDN/demo/BIM301.pdf]
Please see these presentation also
[BEx Macro - Part 1|http://www.netsaptech.com/SDN/demo/SDN_SAPTechEd06_BIM301_DEMO_SPLIT1/SDN_SAPTechEd06_BIM301_DEMO_SPLIT1.html]
[BEx Macro - Part 2|http://www.netsaptech.com/SDN/demo/SDN_SAPTechEd06_BIM301_DEMO_SPLIT2/SDN_SAPTechEd06_BIM301_DEMO_SPLIT2.html]
Hope it gives some hints.
Thanks
Chandran

Similar Messages

  • How can I change the background colour when working on a doc in full screen view (pages)?

    Recently I have been working on docs without the distraction of having to see my desktop around my page file by using the full screen view in pages. I do find the contrast to an all black screen too harsh though and it makes my eyes more tired than seeing the clutter of my desktop around the page. Is there any way I can change the background colour?
    Any help much appreciated!

    When you are in Full screen mode move the cursor up to the top to show the Format bar. Then look to the far right. There you'll see Background  and a rectangle. Click on the rectangle and change the colour.
    For information on Pages download the Pages User Guide from your Pages Help menu.

  • How do I change the background colour on notes. I need a darker background due to a visual issue. Apple has now discriminated those with visual issues.  I am so not happy with many of the new changes because of this.

    I am so not happy with the new changes especially when it come to the ability to change background colours, fonts and font sizes/ colours... Does Apple really think that their only audience is the young cool crowd or people who do not have a visual impairment.  Think before you make changes to your software and programs.  You WILL lose more people to androids if you continue this way.
    At least give users the ability to make apps like notes their owned by allowing them to pick the style, theme, background and colour, font size and colour. 
    A very ****** off Apple user who is now looking at Androids.

    Hi Tricia,
    I'm sorry but I don't see an ideal way to do this. Is it the yellow label text, e.g:  "New" against the white background which is causing the difficulty?
    The only way I've found of getting the colors to change in Notes is via Settings>General>Accessibility>Invert Colors but then it looks like something has barfed all over your screen.
    I'd be very, very surprised if Apple do not fix this, firstly because I believe "Accessibility" is a legal matter and secondly because they will not want to cause difficulty for their customers.  We have to remember that this is a major, major overhaul of iOS, it has essentially been taken back to the drawing board and done from scratch again, it may take a little time, but I'm sure they will fix these issues.
    Regards,
    Steve

  • Just uploaded iso7 , . . .hate it!  Can you change background colours?  How do you add a new item/activity to the schedule? In notes the font has changed, can I change it back and the link colour is now yellow instead of blue, can I change it?  Thanks

    Just uploaded iso7 , . . .hate it!  Can you change background colours?  How do you add a new item/activity to the schedule? In notes the font has changed, can I change it back and the link colour is now yellow instead of blue, can I change it?  Yellow on white is harder to read. Thanks

    Another question. How do you bookmark something.  It was so easy before, why did they change it?  Can I uninstall it?

  • My iTunes 11.0 (mac) has a black background colour and I can not see all of the information.  How do I change the background colour in iTunes 11.0 (mac)

    My iTunes 11.0 (mac) has a black background colour and I can not see all of the information for each song.    How do I change the background colour in iTunes 11.0 (mac) so I can see check boxes etc.  My download window shows no information, it is entirely black.

    Trent o
    Someone else in the forum told me how to do this.  If you have Onyx on your system then select Parameters, iTunes and turn off high contrast mode.  If you don't have Onyx, I'd suggest getting it.  It is freeware and used to help maintain your system.  Good luck
    Paul

  • Changing background colour for a new Workspace page

    Hi everybody,
    can anybody help me?
    I want to create a new Workspace Page. When i create a new page in the workspace, the colour is white. How can i change the background colour?
    Thanks for any suggestion!
    Eddy

    Eddy,
    This forum is for workspace manager - a database product that has no UI itself. I'm not sure what product you are using, but it's not WM.
    Bryan

  • Background Colour in Pages 5.0.1

    Knowing how Apple likes to have everything sent electronically, and not printed, I am surprised that I can't change the background page colour of documents.
    I can change the background of a word, sentence and paragraph. I can even select all the text on a page and change the background colour of that.
    But there is still a white border all around this document, where the margins, headers and footers are.
    It looks really NAFF.
    Anyone got any ideas please.

    Make a page size rectangle, color it and send it to the back or make it a master object.
    Peter

  • Background colour in pages document

    Is there a way of having white as my background colour for my document and using white script?

    Peter, thank you for your response.
    I wasn't trying to lock horns with you.
    Your story about your sister in law made me laugh.
    To be certain, I am NOT arguing that black text on white background is less legible
    [I'm sure you are correct that it is more legible. That would stand to reason].
    I am saying that staring at lots of white light hurts my eyes and I don't like looking at it for a long time.
    I'm sorry you disagree with what I have experienced that applies to me personally over many years.
    However,
    I don't think that's superstition.
    That's years of personal experience, related to my own personal eyeballs [not yours].
    To drop pretensions of science,
    I'm afraid what this boils down to is I can't be told what I like to see, or look at for long periods, and what is more comfortable for me personally.
    To use a very rough analogy : 
    Would it be more painful for you to stare at a very intense little ball of light [or a few of them] / [or a neutral-coloured ball of light] against a dark night sky?
    OR at a few black dots in front of , perhaps not the sun, but some other similarly but far less intense light across say, the sky as a backdrop, all of that light shining in your eyes?
    Would you rather try and read small text on a dim lightbulb, or against a fully-lit lightbulb?
    You may be different. I personally prefer the text on the more neutral lightbulb.
    I'm perfectly happy to be surprised, but I don't think you were addressing a slightly separate topic: legibility, rather than photoreceptors being bombarded with hot-light all day.
    While legibility is a factor related to eyestrain, I would suspect for different reasons,
    and ultimately, what negligible-difference I may lose in legibility is far-more than made up for by not having to stare at a flat panel beaming hot-light into my eyes all day.

  • How to change the text color of a label by using RGB values without changing the background colour?

    xCode interface builder:
    When I try to change the color property of a label's text by using the RGB values, the background color also changes to the same value automatically.
    in other words:
    While setting the RGB values for text colour of labels, the background colour also changes unless we use the sliders.
    How to make sure that only the color of text changes and not the background?

    You can simply do this.
        [labelname setTextColor:[UIColor colorWithRed:38/255.0f green:171/255.0f blue:226/255.0f alpha:1.0f]];

  • Unable to set background colour JTableHeader in Java 1.6_18

    We're moving our application from Java 1.4.2 to 1.6_18, so far without major problems but there's some small issues with the GUI. Originally we'd change the background colour of the JTableHeader, but in 1.6_18 that doesn't seem to work. Instead of colouring the complete header it just seems to draw an outline. It kind of gives the impression that there's something on top of the table header which hides the coloured background.
    The code below shows what I'm trying to do, and gives different results when compiled in Java 1.4.2 and Java 1.6_18. It makes no difference whether I'm using the UIManager or setting the background directly on the JTableHeader.
    The application still works fine of course, but it bugs me that I can't work out what the problem is, so any suggestions would be greatly appreciated! I've already had a look at bug [6521138|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6521138], but it makes no difference whether a new JTableHeader is set, so I think it's different. Also, the workaround for bug [4776303|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4776303] has no effect so I think that doesn't apply either.
        public static void main(String[] args) {
            try {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                // Doesn't give the expected result in Java 1.6_18, the background remains white-ish with only a coloured border.
                // UIManager.put("TableHeader.background", Color.GREEN);
                // UIManager.put("TableHeader.foreground", Color.BLUE);
            } catch (Exception exception) {
                exception.printStackTrace();
            final JFrame frame = new JFrame();
            frame.getContentPane().add(createPanel());
            frame.getContentPane().setLayout(new FlowLayout());
            frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
            frame.pack();
            frame.setVisible(true);
        private static JPanel createPanel() {
            final JPanel panel = new JPanel();
            final DefaultTableModel model = new DefaultTableModel(3, 2);
            final JTable table = new JTable(model);
            // Tableheaders.
            final TableColumnModel columnModel = table.getColumnModel();
            columnModel.getColumn(0).setHeaderValue("First");
            columnModel.getColumn(1).setHeaderValue("Second");
            // Doesn't give the expected result in Java 1.6_18, the background remains white-ish with only a coloured border.
            table.getTableHeader().setBackground(Color.GREEN);
            table.getTableHeader().setForeground(Color.BLUE);
            final JScrollPane scrollPane = new JScrollPane(table);
            panel.add(scrollPane);
            scrollPane.setSize(400, 100);
            panel.setSize(500, 500);
            panel.setPreferredSize(panel.getSize());
            return panel;

    Hillster wrote:
    Ah yes, when I change that setting the background of the table header indeed gets the expected background colour. Unfortunately it also makes my desktop look hopelessly outdated :-( And I can't really expect my end-customers to change their settings just to run my little application. Still, I suppose this proves that the problem lies in the L&F?Seconded Jeanette's sentiment, this is definitely a feature, not a problem. You want system LaF, you get System LaF, with all the bells and whistles. If you're sure you don't want the system embellishments, you could consider using my [_default table header cell renderer_|http://tips4java.wordpress.com/2009/02/27/default-table-header-cell-renderer/].
    db

  • How do I - change the background colour of the output HTML page

    Captivate 5
    I am publishing my project to html, but wish to change the background colour of the html page to match the projects colour scheme.
    I can find no option in Captivate to do this, and it is always output as white = <body   bgcolor="#f5f4f1">
    I change the colours used within captivate and change the html colour of the borders, or the captivate project background, but this does not effect the html page when published.
    Is this possible?
    At present I am having to manual amend the html to the colour of my choice.

    Hi there
    Can you post a screen grab of what you are seeing? The instructions Orange_Sean provided should have done the trick for you. Even though you aren't using Borders, it still should have changed the HTML background color. Unless we have unearthed a bug or something.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Change the desktop background colour of Acrobat 9 Professional?

    Is it possible to change the desktop background colour in Acrobat 9? The reason I ask is we are supplied newspaper ads and sometimes they have a black keyline on the border of the PDF.
    The dark background on the desktop can make it difficult to see a fine keyline. We were previously using Acrobat 7 Professional which had a white background.

    Doesn't work
              ^                                                                                    ^
    Obviously, I can't, in this particular screenshot show everything.
    This is what the fellow is talking about.  Naturally if his keyline item is in Black it ain't going to show up  In Acrobat previous to 9 all this back Ground was grey.

  • How to see the foreground and background colour without those sliders?

    I've always found the Color Panel really annoying. A lot of space is taken up by those sliders, and I hardly ever use them.
    Is there some way to hide the sliders, or—better still—put the foreground & background colours on the control panel? Shouldn’t the colours be on the control panel by default, always there in the corner?
    I wonder how most people view the foreground and background colour? Does Adobe seriously expect users to have the large Color Panel constantly displayed (along with its rarely-used sliders), or perhaps we’re all expected to have the Tools Panel constantly open even though it only contains basic tools that most people know the shortcuts for?
    Or is there some other way to see the foreground and background colours?
    Or do most users not need to know what the foreground and background colours are?

    Too big, i guess you don't remember the color palettes from ps 1 and ps 2.
    You might want to look at configurator to make a smaller panel that just shows the
    foreground/background color chips.
    http://labs.adobe.com/technologies/configurator/
    MTSTUNER

  • Indesign CS6 text drop shadow changes background colour

    I have two layers, one for a background image linked to a photoshop document and another layer for text. When i add drop shadow to the text, the background colour goes sort of dark, and the same happens in overprint view whereas with 5.5 it didn't do that. Is there a way to fix this?
    Before:
    After:

    Looks like maybe an RGB image with a CMYK transparency blend space applied.

  • How to change the page Header background colour in a Theme

    Hello,
    I want to know how to change the page header background colour. If you are in the Editor I don't find a property where to change it.
    If you are in the Theme Editor in the header bar I want to change stands <b>Theme Editor</b>. This (in my case blue colored bar) I want to change in another color.

    Hello Radhika,
    thanks for your answer. Where do I find the option for the pageheader in System Administration>Portal Display>Theme Editor ->IView Trays exactly?
    The pageheader is a picture, which must be uploaded for the web dynpro. Why should any webdynpro element in the ivew tray. There is no relationship between these two parts.
    I have not found any option to change the web dynpro pageheader. Could there any extra theme editor for webdynpro?
    Thanks.
    Olaf

Maybe you are looking for

  • Difference between down payment & advance payment

    Hi frndzz.. I have lil' confusion on these two.   Advance payment is what you you pay to your vendor against the purchase order is raised. Later you clear this value against the invoice sent by your vendor. I see the same is applicable for downpaymen

  • Selection for up to 3 import parameters

    Hi, I am creating a FM for a BAPI that has to select data based on the following prerequisites: 2 tables are to be used: table_h: salesman_no  key     BusinessPartner record last changed   DATS table_i Salesman_no  key    BusinessPartner ProductID   

  • Installing additional content is painful asks for password near the end and stalls

    Content addition does a bit of downloading then stalls askes for user password I dont want to babysit my computer for 30 hours to re supply a password for each new bit of content every once in a while. Why does it do this?

  • Tone Curve Sliders Disappeared

    My tone curve sliders disappeared in Lightroom 3 (exposure, recovery, fill light, blacks, brightness, saturation, vibrance).  I have googled it and tried a few things with no luck.  THanks in advance for your help! I am desperate to resolve this ASAP

  • BPEL Expression Build problem

    Hi, While developing the BPEL process, the Expression builder doesn't repyly for a long time when we have to build the big expressions? Is there any solution/alternative to over come this? -- i have one idea of editing the .bpel file and writing the