How do I create a macro that allows for the columns to be dynamic

I've created a macro in my workbook which is a very simple division of one cell by another.  However when they use the filters to add or delete columns my macro isn't dynamic so I need to some how use a dynamic column reference.  Is this possible and if so can you supply some example code.
Thanks

Hi,
What BI version are you in? If you are in 3.x, you can check the resultArea variable in the VBA code. That will give you an idea on the size (height, location, width) of the result area of the query.
Hope this helps.

Similar Messages

  • HT2798 I have a Mac OS 10.6.8 server in my classroom that I have networked to each student's account.  How do I create a folder that allows them to place their finished assignments in it, but does not allow them to go in and remove anything from that fold

    I have a Mac OS 10.6.8 server in my classroom that I have networked to student accounts on the iMacs in the room.  How do I create a folder that allows studnts to place their finished assignments in it, but does not allow them to go in and remove anything from that folder?

    You want a "Drop Box" style folder. You should be able to achieve this by creating a folder and giving it permissions similar to the "Drop Box" folder in your users Public Folder (i.e. write only permissions.)

  • How do i create a website that allows customer to upload images and text?

    I need some help i have a friend who has asked me if i can create a website that allows them to upload their own images and text at their leisure.
    His company is in the car sales trade so they need to regularly be updating their stock, and this needs to be done by somebody with limited computer knowledge so ease of use is fairly important.
    I am using dreamweaver cs4 on a G5 Imac running Snow leopard 10.6.8, my skills are limited to creating uncomplicated websites but i am very keen to learn, i am aware of content management systems such as Druplal but have zero knowledge on how to use these.
    Any assistance would be greatly appreciated
    Andy Barrington
    www.andybarrington.com

    You can take a read here
    http://www.hotscripts.com/category/php/scripts-programs/classified-ads/autos/
    http://icloudcenter.com/auto-dealer-car-sales-script.htm
    Although putting together a form that would upload images and all the descriptions required seems like a fairly straghtforward project, depending on your current skill set.
    Gary

  • How do I create a table that breaks for new pages?

    I'm running Pages 5.5.1 on OS X Yosemite 10.10.1 and am having difficulty understanding table behavior.
    Scenario 1 - I create a new file and insert a table at the top of the first (blank) page.  It automatically is selected for Object Placement>Move With Text.  If I add rows to this table, Pages automatically adds a new page and breaks the table so that additional cells appear on the new page.  All well and good.  If I change the Object Placement to Stay on Page, the second page and those cells disappear.
    Scenario 2 - I create a file and first add a few lines to the top of the first page.  Then, I insert a table below those lines.  It is also automatically selected for Object Placement>Move With Text.  When I add rows, the table does not break for the second page, but the entire table jumps to the second page.  If I change the Object Placement to Stay on Page, I can then slide the table back onto page one, but as in Scenario 1 the portion of the table which would continue onto page two disappears.
    So, how do I create a table that I can add to a page which is not blank (as in Scenario 2) which will break automatically onto page 2 instead of jumping, and so the rows appear on page two (not disappear as I describe above)?
    Thank you for your help.

    The inline table is supposed to break but like most things Pages 5 it is buggy and erratic in its behavior.
    Use Pages '09.
    Peter

  • I mistakenly deleted the files that allowed for the restore last session tab on homepage; how to reinstall?

    I was cleaning up desktop and deleted a firefox file that I didn't recognize....it ended up being the one that allows for opening up the previous session

    I have no idea how/why it was on desktop....and I emptied the recycle bin already! I was just trying to get organized a bit and clean up clutter...but I did use that feature almost daily, as it helped me to just close up the computer in the evening without worrying about getting to all the work the next day, as I would now immediately remember what I was doing!

  • How can I create a website that allows me to share articles across social media websites?

    Im looking to share articles across social media websites. I want my team to be able to create articles on my site and share the articles across the internet. here are two expamples:
    http://blogs.adobe.com/digitalmarketing/social-media/
    http://www.leafly.com/news
    What adobe programs should i use?
    Any templetes out there that can help?
    What sould my workflow look like?
    Thank you for any and all help:)

    If you're a web developer, then you already know what apps to use.
    If you're a designer (like me) then Muse CC is your weapon of choice.
    One simple strategy would be to create your web site, include all the articles you want to distribute, then link to each specific article/web page from your pages on Facebook, Twitter, etc.
    Unfortunately, there isn't a manual for Muse, so you need to watch videos:  http://tv.adobe.com/show/learn-adobe-muse-cc/
    YouTube is also your good friend when it comes to learning Muse.
    Good luck.

  • How do I create a new .DS_Store file for the Desktop?

    I have an account, in this case it is the System Administrator account (which I seldom use), where the Desktop icons all scrunch up to the right side of the screen. I can re-arrange them, but when I log out and sign back on, the icons are shifted back to the right side of the screen. I thought perhaps I had a corrupted .DS_Store file that needed to be removed. However, it turns out that I can find no .DS_Store file to remove for this account. Finder just doesn't seem to be able to create a new one. I'm not sure how or when the old one disappeared.
    Any suggestions how I can get the Finder or something else to create a new .DS_Store for the Desktop so that icons will stay put?

    I think I found an answer (not a solution) to my problem. Consulting with Apple Support, there is no way for the System Administrator's desktop to "remember" the positions of icons from one session to the next. They will always move to the right-hand side of the screen when you log back in. Apparently this is a change that occurred with OS 10.6.4. No reason by Apple given for the change, nor is it readily apparent to me why the Desktop or Finder in the System Admin account should work any differently than in any other account. Might simply be an oversight or a bug.
    If anybody has a fix, I would appreciate learning about it.

  • How do I create a new Work Center for the transaction launcher and links

    Hi
    The requirement here is for me to find out if I can create a new Work Center that will contain up to 6 assignment blocks and each block having either links to websites and BW reports, or triggers to R/3 applications via the transaction launcher.
    Can I do this purely through customising or do I need to create a new view using BSPs? If I can do it through customising please could I have a few pointers to what component I would need to use/copy?
    Regards
    Declan

    Hi Robert,
    Thanks again for taking the time to reply.
    Just so I understand, if I want to show a work center I need to link it to a component / view? I think this was the original query - do I need a developer to create the view that contains the 6 blocks with their links to reports, transactions and websites? I think when I talk about blocks I mean 1 viewset containing 6 views. There is no SAP standard view that would suit my requirements is there? Even if the work center had 8 views, I can always hide the two views in configuration.
    After the developer has created the view, I then reference that component in the target Id in the define logical links section of my work center.
    If my understanding is right, then it follows that it is not possible to create a user specific work center without some development.
    Is this correct?
    Cheers
    Declan

  • How do I create a HTMLLoader that allows downloads?

    I've been working on creating a air app that is essentially a browser. I've been trying to get it to allow external downloads, but I've had no success so far. I can get it to pop open a new window for external links by overriding the htmlLoader class, but unless it's a pdf, I can't seem to get downloads working. I think I should attach a event listener to all the links on the page, and if the content-disposition is an application then to use FileReference to download it but I'm lost on how to actually implement this. Any tips or help would be greatly appreciated.

    Hi,
    We don't currently support repeating form elements. One option you have with the current feature set is to use skip logic rules to allow the user to input one or more tactics. For example:
    In this example, the user would first select the number of tactics they are going to input. The text fields are conditionally shown based on that selection. Does this work for your use case?
    Thanks,
    Brian

  • How do I create a form that allows the user to import a photo?

    I am creating a form in Acrobat 8 Professional (MAC) that will be used by PC Reader users. Users need to be able to import photos into the form. How do I import images into a form?

    Would these topics at this link help?: (Click Here)

  • How can I create a link that allows users to convert a Wiki pages into PDF format.

    I am working on an enterprise Wiki library site collection, but I want to create a link named “Convert to PDF” , which allow users to convert the current Wiki into a pdf file. I need this link to be displayed some where in all the exsiting Wikis pages, and
    on any new wiki page. Can anyone advice if there is already such as capability within sharePoint 2013.
    Thanks

    Hi,
    For your requirement, we can add this link to the master page, then it will appear in the pages which apply this master page.
    To convert the current page to PDF, you can take consideration of using jsPDF.
    The links below with demos for your reference:
    http://parall.ax/products/jspdf
    Best regards
    Patrick Liang
    TechNet Community Support

  • Can I create a form that allows users the ability to add fields?

    I would like to create an asset order form I can host on my company's intranet. I would like to give the users the ability to add additional fields per item they request rather than provide them with a limited amount of fields. For example, the template available from Formscentral has 5 dropdown selection boxes with predetermined supplies to choose from. My office receives requests for multiple, varying assets that I would not be able to list in generic dropdown selection boxes. I want to give users the freedom to enter item titles and provide URLs to online stores they would like me to purchase them from. I want my form to begin with two fields for this information and provide users with an add button that creates two additional fields for each additional item requested.

    Hi,
    In Acrobat Form, you create a hidden Text Field which will only get visible on a Button click for inserting additional text.
    Regards,
    Anoop

  • How do I create an object that moves with the mouse?

    I don't use Flash a lot, so things like this confuse me...
    I'm trying to code so that an object, mostly likely a circle, moves
    around when the mouse moves. Also, I want it to disappear when the
    mouse leaves the screen. Can anybody help me do this?
    Thanks.

    circle_mc is the instance name of the circle, so just change
    it to be whatever you want it to be.
    One thing with that, you may want to have the image centered
    within the stage of the movieclip, otherwise it will appear to be
    following the mouse by the corner of it.
    This ain't no carny show, so your shenigans declaration is
    void unless you can get a majority vote and brought your
    broom.

  • How can i create a button that stays on the active state when clicked?

    Like a follow button that stays on following when i click it, without reloading the whole page?
    Thanks!

    I don't follow what you are trying to do. Can you provide an example on a site that does what you need to do?

  • How can i create a drop down menu for set qty in my store?

    I'm wondering how i can create a drop down menu for the qty module that sits on the individual product page. My client sells in quantities of 6 packs. I currently have the minimum order at 6 but i would like to give consumers the option for 6,12,18...and so forth. I was told that it could be accomplished? Hopefully someone can help me.

    Hi Chris -
    Thank you for your reply! I had seen your article before, and just now again attempted to follow it, but I get stuck. There are two things that I'm confused by.
    First off, toward the top, referring to the initial button, you say to add this interaction:
    ON CLICK; Play Transition to comboBox: selected
    ON ROLL OUT; Play Transition to comboBox normal if comboBox is in over state
    ON ROLL OVER; Play Transition to comboBox over if comboBox is in normal
    However, I do not see these transition options. When I select the button, the only interactions I have are to Play transistion to state, Play action sequence, Go to URL, and two for videos. So that's the first roadblock for me.
    But, trying to get passed that, I went down to the portion of the article that refers to adding interaction to the dataset items. Again, I don't get it, as I see no way to add interaction to a dataset item. When I open my design-time data menu, I do see the items, and am able to rename each item, add additional rows, and change the shape of the datalist layout. However, I see no way to add an interaction to a dataset item. I must be missing a step ... Can you help with this?
    Again, thank you!
    Amy

Maybe you are looking for

  • Credtit Availble in Tax payment Wizard

    Hi All I am trying to get the total Credit available for each and every CENVAT Components for the month in the report... I checked the table TPW6 but it lists all the Journal Entries from which the credit payable can be calculated.. Is there any way

  • Dinamic variable list

    Hello Experts, I am facing a problem while creating dymanic list for variable in VC model. Ex. When i create dynamic list for Customers, i get list of cusotomers in drop down menu. After selecting a customer from drop down list when i make the next s

  • File adaptor q

    Hi all, can we have more than one key  for the message`s ..with reference to filecontent Conversion. Regards Ravi

  • The efficiency of oci program with OCI_COMMIT_ON_SUCCESS

    I have write a demo program to insert 1000 row data into a tab. As I want to commit at every insert operation, I call OCIStmtExecute with OCI_COMMIT_ON_SUCCESS parameter. And the time cost for each row is between 5ms and 10 ms. At the same time, inse

  • Create destinations for pdf file

    I would like to create in Frame a destination that appears in the pdf as a destination, I would think this would work: but in the pdf file, it doesn't appear, is there another way? Are my settings correct?