LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Macros Tabs and Files

Set StartSheet = Activesheet

'your code

StartSheet.Activate

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Jim" wrote in message
...
Hi. I created a Macro to take a excell file (lets same its named Doggy),
sort and break up per my specs and place results on 7 different tabs.
Works
good. However everytime I get a new file to convert through this Macro I
have to rename the file to Doggy before the macroo will work because that
is
the name on the tab when I origionally created the macro. Here is the
line
that is causing the issue - Sheets("Doggy").Select . is there a way around
this?

Thanks



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel should have tabs at the top for different files Chris R[_2_] Setting up and Configuration of Excel 0 February 25th 10 08:00 PM
hiden tabs & macros PG Excel Discussion (Misc queries) 2 September 1st 06 09:54 PM
Running macros on ALL Excel tabs tbong Excel Worksheet Functions 1 June 7th 06 08:52 PM
macros won't work when tabs with data used are hidden pywhacket Excel Programming 5 March 22nd 06 08:21 PM
locking tabs w/macros erik Excel Discussion (Misc queries) 2 July 6th 05 05:21 PM


All times are GMT +1. The time now is 05:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"