Excel Macro / modify formulas via user input


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Excel Macro / modify formulas via user input

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    2

    Red face Excel Macro / modify formulas via user input

    I have a multi-sheet excel workbook (diff sheet for each day of the month, and a master report sheet). The master report sheet currently consists of links to cells on worksheet '1'.

    What I'd like to do is create a macro that takes input from the user via an input prompt and goes through all cells on the master report sheet and modifys the links according to what page the user selects (e.g. 1-31) that they want data from.

    I'm a newbie at VBA scripting within Excel.

    Any help would be appreciated.
    Marc

  2. #2
    Join Date
    Dec 2003
    Location
    Swiss Alps - a strange place for building aeroplanes
    Posts
    55
    Quote Originally Posted by fatboy
    I have a multi-sheet excel workbook (diff sheet for each day of the month, and a master report sheet). The master report sheet currently consists of links to cells on worksheet '1'.

    What I'd like to do is create a macro that takes input from the user via an input prompt and goes through all cells on the master report sheet and modifys the links according to what page the user selects (e.g. 1-31) that they want data from.

    I'm a newbie at VBA scripting within Excel.

    Any help would be appreciated.
    Marc

    Well what I did to get my self going in VBA was

    start the macro recorder
    Perform the operation I wanted it doing once.
    stop the recorder

    Now edit the macro. You will see Excel specific operations but you'll notice how VB it really is.


    Give it a whirl. If you know VB you'll pick up VBA realtively quickly - not efficiently but quick enough.

    Rgds

    Eddie

  3. #3
    Join Date
    Jan 2006
    Posts
    2
    Eddie,
    Thanks. I didn't think of that.
    Marc

Similar Threads

  1. Web User Control and javascript
    By s in forum ASP.NET
    Replies: 0
    Last Post: 03-26-2003, 03:17 PM
  2. Replies: 8
    Last Post: 01-09-2003, 10:42 PM
  3. Script for scrolling
    By Mark in forum Web
    Replies: 3
    Last Post: 08-30-2001, 12:45 PM
  4. Replies: 2
    Last Post: 01-26-2001, 11:42 AM
  5. Creating a user input search
    By oSSiE in forum ASP.NET
    Replies: 0
    Last Post: 05-01-2000, 07:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center