-
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
-
 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
-
Eddie,
Thanks. I didn't think of that.
Marc
Similar Threads
-
Replies: 0
Last Post: 03-26-2003, 02:17 PM
-
Replies: 8
Last Post: 01-09-2003, 09:42 PM
-
Replies: 3
Last Post: 08-30-2001, 11:45 AM
-
Replies: 2
Last Post: 01-26-2001, 10:42 AM
-
By oSSiE in forum ASP.NET
Replies: 0
Last Post: 05-01-2000, 06: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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks