Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In the example below, I am trying to go from a worksheet BOOK1.xls to another
worksheet already open Tup071130_hr.csv and copy then go back to BOOK1.xls and paste the contents. The worksheet i want to go to will be named something different each day but end with .csv and will have 12 preceeding characters. Since it changes daily I need to use a wildcard for the window name. I can't get a wildcard of any type to work. Can anyone tell me how it should be worded in the macro to see the open and new worksheet when it is open each day? Thanks in advance. Windows("????????????.csv").Activate Cells.Select Application.CutCopyMode = False Selection.Copy Windows("Book1").Activate ActiveSheet.Paste |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA code for macro help | Excel Discussion (Misc queries) | |||
Deleting code from a macro (by a macro) | Excel Discussion (Misc queries) | |||
Help With Macro Code?? | Excel Worksheet Functions | |||
Macro VB code help | Excel Discussion (Misc queries) | |||
Zip Code Macro | Excel Worksheet Functions |