?
Solved

change vba code from active workbook to last workbook

Posted on 2013-05-30
3
Medium Priority
?
328 Views
Last Modified: 2013-06-03
Hi experts

How would u change vba code that starts

with activeworkbook

To refer to workbook called age
0
Comment
Question by:route217
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
Norie earned 2000 total points
ID: 39207317
Either this,
With Workbooks("Age")

Open in new window

or this, with the appropriate file extension.
With Workbooks("Age.xlsm")

Open in new window

0
 

Author Comment

by:route217
ID: 39207320
Cheers
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question