Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / March 2008

Tip: Looking for answers? Try searching our database.

Changin a Macro so it automatically updates the active worksheet.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Confused Laura - 17 Mar 2008 17:48 GMT
Hi

I have just recorded a macro which takes info from imported text and does
some caculations and rearranges the info onto a new worksheet.  My problem is
that I need it to do the same thing over several worksheets.  I have
associated the macro with a button - but need it to update that active
worksheet and not the original worksheet that I used to record the macro.

Any help would be much apreciated!
Fred Smith - 18 Mar 2008 00:19 GMT
Without seeing the actual code, we can't say definitively, but you probably
want to change Sheets("Name") to ActiveSheet. Also check for hard coded
workbook names.

Regards,
Fred.

> Hi
>
[quoted text clipped - 6 lines]
>
> Any help would be much apreciated!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.