Solved

change vba code from active workbook to last workbook

Posted on 2013-05-30
3
282 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 33

Accepted Solution

by:
Norie earned 500 total points
Comment Utility
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
Comment Utility
Cheers
0
 

Author Comment

by:route217
Comment Utility
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now