Archive of Mr Excel Message Board


Back to Forms in Excel VBA archive index
Back to archive home

"capturing" an address?

Posted by Bill on December 12, 1999 9:23 AM
Range("A1:A4").Select
Selection.Cut
Sheets("Sheet2").Select
ActiveSheet.Paste
Columns("A:A").Select
Selection.Insert Shift:=xlToRight
Sheets("Sheet1").Select
Range("A1").Select
End Sub

How might I modify the module above so that it
looks at sheet1 cell B2 and select a sheet with
the same name ? ( cell B2 changes daily)
I've done this in Quattro Pro using &"****"&
in my formulas but havent found a solution in Excel, hope you can give me a clue.


Thank You

Bill


Check out our Excel Resources

Re: "capturing" an address?

Posted by Marcus Macrae on December 13, 1999 8:02 AM
Bill, I've changed your third line to select the right sheet

- Marcus How might I modify the module above so that it


This archive is from the original message board at www.MrExcel.com.
All contents © 1998-2004 MrExcel.com.
Visit our online store to buy searchable CD's with thousands of VBA and Excel answers.
Microsoft Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.