Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to create a macro (attached to a transparent rectangle in cell A)
that will copy contents of cell B to Cell C and paste as a value. Problem I have now is the transparent rectangle is duplicated each time it is activated in cell A (macro does copy correctly to cell C) and I have to click on the left side of cell A and slide over to the right side to activate transparent rectangle (attached to macro) - any way to activate macro without clicking on left side and sliding over the right. See Example of Macro I have so far. Any help will be greatly appreciated. Sub Macro4() ' ' Macro4 Macro ' Macro recorded 10/15/2007 by Robert ' ' Application.ScreenUpdating = False ActiveCell.FormulaR1C1 = "R" ActiveCell.Offset(0, 1).Select Selection.Copy ActiveCell.Offset(0, 1).Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Application.CutCopyMode = False Application.OnKey "{ENTER}" Range("o7").Select ActiveCell.Select End Sub Robert B. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Want to use a Macro to copy and paste cell *value* only | Excel Discussion (Misc queries) | |||
copy excel cell to cell in word table using excel macro | Excel Discussion (Misc queries) | |||
Using macro to copy a part of a cell content to next cell | Excel Discussion (Misc queries) | |||
Getting macro to copy to starting cell | Excel Worksheet Functions | |||
Macro help - copy a cell down | Excel Discussion (Misc queries) |