Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have this macro that copies information for a selected cell. It uses the
information to goto a weblink copies the information and returns it to z3. my problem is that i only need information from the b cells but it is grabing the a cells as well. As suggestions? weblink http://www.geocities.com/btobin0/17May2006.html excel cells = Z2 for active cell : Z3 to paste information information in z2 = 17May2006 macro: Sub Macro3() 'ActiveCell.Value Selection.Copy 'Application.CutCopyMode = False 'Application.DisplayAlerts = False Workbooks.Open Filename:= _ "http://www.geocities.com/btobin0/" & ActiveCell.Value & ".html" Range("B10").Select Selection.UnMerge Range("B10:B20", "B22:B32").Select Selection.Copy ActiveWorkbook.Close 'Application.DisplayAlerts = False Sheets("Sheet1").Select Range("z3").Select ActiveSheet.Paste End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Search, Copy, Paste Macro in Excel | Excel Worksheet Functions | |||
Closing File Error | Excel Discussion (Misc queries) | |||
macro with F9 | Excel Discussion (Misc queries) | |||
Make Alignment options under format cells available as shortcut | Excel Discussion (Misc queries) | |||
Playing a macro from another workbook | Excel Discussion (Misc queries) |