Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Pasting issue
I have a macro below where the search takes the information from Cell A1 adds
it to a hyperlink, copies information and pastes it back into excel. Currently I have the range set to Z3 and Z15 where it pastes. My question is if the Cell is A1 and has a date in it, how can I have it find another cell with the same information and paste underneath it? Range("A2").Select Selection.Copy Application.CutCopyMode = False Application.DisplayAlerts = False Workbooks.Open Filename:= _ "/total." & Sheet1.Range("a1") & "." & Sheet1.Range("A1") & ".htm" Range("B6").Select Selection.UnMerge Range("B6:B16").Select Selection.Copy ActiveWorkbook.Close Application.DisplayAlerts = False Sheets("Sheet1").Select Range("z3").Select ActiveSheet.Paste Workbooks.Open Filename:= _ "/total." & Sheet1.Range("a1") & "." & Sheet1.Range("A1") & ".htm" Range("B18").Select Selection.UnMerge Range("B18:B28").Select Selection.Copy ActiveWorkbook.Close Sheets("sheet1").Select Range("z15").Select ActiveSheet.Paste |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Memory or power issue | Excel Discussion (Misc queries) | |||
Wrap Text issue | Excel Discussion (Misc queries) | |||
Force values-only when pasting text to keep formatting | Excel Discussion (Misc queries) | |||
Pasting numbers and formulas without pasting format. | Excel Discussion (Misc queries) | |||
How to remove an extra line added by excel when pasting into notep | Excel Discussion (Misc queries) |