+ Reply to Thread
Results 1 to 6 of 6

Question on Macro functionality

  1. #1
    Registered User
    Join Date
    01-30-2012
    Location
    Shropshire
    MS-Off Ver
    Excel 2010
    Posts
    11

    Question on Macro functionality

    Hi all,


    I am looking to send out several Excel spreadsheets to different departments all with the same questions though. When they return I am looking to create a macro that would extract the data i need, perform a calculation and put it into a separate Excel spreadsheet. My question, Is this possible ?

    I thought that i may need a DB.

    Thanks for any help guys

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Question on Macro functionality

    Its possible.Why dont you attach a sample file and we can help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    01-30-2012
    Location
    Shropshire
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Question on Macro functionality

    Hi,

    sorry for the delay couldn't get on yesterday. Here is an example of a table in the questionnaire, lets just say for example i wanted to take the electricity costs for everyone who returned the form and display that information in another table so that all electricity costs can be seen.

    Thanks for any help.
    Attached Files Attached Files

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Question on Macro functionality

    Am I missing something? There's only a chart in the example
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    01-30-2012
    Location
    Shropshire
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Question on Macro functionality

    No your not missing anything, just asking how information on this chart could be captured and then placed in another spreadsheet along with several other depts charts. for example if i sent out this chart to 6 different depts and i wanted to display their own electricity usage how could i do that. the real questionnaire has several of these tables produced from the questions, do you need to see the whole document ?

    Have included a couple of charts with information for reference.
    Attached Files Attached Files
    Last edited by fatboylard; 02-01-2012 at 10:22 AM. Reason: attachment

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Question on Macro functionality

    If you need to display each department's usage then you need to start with the data. You cant directly split out the chart. You can have a format created wherein you select the dropdown and the chart changes to reflect data for that dept. You will need some complex formulae for that, but its possible only with the data.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1