Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
I would very much like to make a macro that pastes whatever I added to my clipboard last into a cell, and only values. I would then be able to use the menus thats already in Excel to copy a cell, then I would run my macro that pastes this selection with values only. I havent been able to program this in VBA, so if anyone know the code for this I would appreciate it very much. Best regards Stig |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Stig,
ActiveCell.PasteSpecial xlPasteValues Rob "Stig" wrote in message ... Hello I would very much like to make a macro that pastes whatever I added to my clipboard last into a cell, and only values. I would then be able to use the menus thats already in Excel to copy a cell, then I would run my macro that pastes this selection with values only. I havent been able to program this in VBA, so if anyone know the code for this I would appreciate it very much. Best regards Stig |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This doesent work. I get an runtime error. The problem is
that i need the VBA to handle whats in my clipboard. I think maybe I need to define this too.... -----Original Message----- Stig, ActiveCell.PasteSpecial xlPasteValues Rob "Stig" wrote in message ... Hello I would very much like to make a macro that pastes whatever I added to my clipboard last into a cell, and only values. I would then be able to use the menus thats already in Excel to copy a cell, then I would run my macro that pastes this selection with values only. I havent been able to program this in VBA, so if anyone know the code for this I would appreciate it very much. Best regards Stig . |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Stig,
Chip Pearson has some examples about Clipboard manipulation he http://www.cpearson.com/excel/clipboar.htm Rob "Stig" wrote in message ... This doesent work. I get an runtime error. The problem is that i need the VBA to handle whats in my clipboard. I think maybe I need to define this too.... -----Original Message----- Stig, ActiveCell.PasteSpecial xlPasteValues Rob "Stig" wrote in message ... Hello I would very much like to make a macro that pastes whatever I added to my clipboard last into a cell, and only values. I would then be able to use the menus thats already in Excel to copy a cell, then I would run my macro that pastes this selection with values only. I havent been able to program this in VBA, so if anyone know the code for this I would appreciate it very much. Best regards Stig . |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Selection.PasteSpecial Paste:=xlValues
That's it. - Pikus --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel should have a "Copy absolute formulas " in Paste Special. | Excel Discussion (Misc queries) | |||
Why would "paste special" disappear as an option in Excel | Charts and Charting in Excel | |||
how to copy a pivot table and "paste special" formats in excel 07 | Excel Discussion (Misc queries) | |||
copy--paste--special "formula" for a whole column | Excel Discussion (Misc queries) | |||
I would like to copy & "paste special" an entire book | Excel Worksheet Functions |