Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Excel


Pate Special Values

I am trying to work out a simple ways of copying one table to another and pasting values apposed to formulas, which they currently are.

I have 2 named ranges. This being the code i have so far.

View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Paste Special - Values Only
Working in one workbook, I am using sheet 1 as a master form and copying it to the back of the workbook and renaming it.

View Replies!   View Related
Force Paste Special Values
I have a workbook where I want to retain FORMATS in all of my cells in all of my sheets, but allow the user to enter data. So I got this code to undo PASTE and instead do a PASTE SPECIAL VALUES:

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)

Dim UndoString As String

On Error GoTo err_handler

UndoString = Application.CommandBars("Standard").Controls("&Undo").List(1)
If Left(UndoString, 5) = "Paste" Then 'Only allow Paste Special|Values
Application.ScreenUpdating = False
Target.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.ScreenUpdating = True
End If......................

View Replies!   View Related
Right-Click To Paste Special Values
I have a person who needs to be able to copy and paste values very frequently. She would like me to set up a personal macro on her PC that will allow her to be able to right-click in a cell and have a context item that is paste values so she does not need to go to the paste special dialog continually.

E.g: She selects a range from one workbook and copies it, She then selects a cell in a second workbook and pastes the values into the second workbook. She does not mind pasting the formatting, but she does not want to paste the formulas as there are many named ranges in the formulas and if she inadvertently pastes everything, all of a sudden the next time she opens her second workbook there are links to the first. All she wants in the second workbook are the values, not the formulas.

View Replies!   View Related
Paste Special Values In Inputbox
I have a macro that should allow users to change a certain range to values, but I have problems with that last piece. Can anyone tell me what the command is to paste the range as values?

Sub Change_Range()
Dim UserRange As Range
DefaultRange = Selection.Address
On Error Goto Canceled
Set UserRange = Application.InputBox _
(Prompt:="Change Range to Values:", _
Title:="Range Change", _
Default:=DefaultRange, _
End Sub

View Replies!   View Related
Paste Special (VALUES) Button
I want to put a button on a sheet that will paste special (VALUES) from the clipboard into whichever cell is selected.

What code do I use? I'm using Excel 2007

View Replies!   View Related
Paste Special - Values To Delete Formulas.
Sub import()
On Error Resume Next
Dim wb As Workbook
Dim c As Range
Dim rngTo As Range

For Each c In Range("D1:D10").Cells
Set wb = Workbooks.Open(Filename:=c.Value)
With Workbooks("DigitalTicketMaster.xls"). Sheets("All")
Set rngTo = .Range("A" & .Rows.Count).End(xlUp).Offset(1, 0)
End With
wb.Sheets("Combined").Range("A2:C100").Copy rngTo
wb.Close .............................................
we have a change on our sheet, make it easy for our guys. Column A, is the date. Today 6/29.

They enter it once at the top, and it pastes for them automatically (a simple cell = $E$1)

But now, when I use the macro, it pastes over the formula that I don't want nor need, and have to call the second macro for. But then everything in that column shoes E1 on my new sheet, which is not the date... and each sheet changes dates, so I can't just have the date all the same.

What can I do in my original code to still make it loop, pull all my pages that I tell it to, but paste values only?

Would it be possible, in my loop, to highlight my cells, on that sheet... A2:C100, copy them, paste themselves right onto themselves, as values only, then copy over to my new sheet?

View Replies!   View Related
Keyboard Shortcut For Paste Special Values
Is there a short- cut key sequence for paste special value short of: Alt+E+S+V


Writing a subroutine in Personal.xls and giving it a shortcut key like:

Sub PasteValues ()
End Sub

View Replies!   View Related
Concatenate String Values With Special Formatting
i have 2 listboxes with numbers if user has selected choice in both then i want to enable okbutton. i tried in okbutton's mousemove: if listbox1.selected = true AND listbox2.selected = true then okbutton.enabled=true.

View Replies!   View Related
Paste Values From Another Worksheet (paste Special, Values) In A Cell Which Is Lookup Value I Get #N/A
I have a little bit of problem with lookup function. When i paste values from another worksheet (paste special, values) in a cell which is lookup value i get #N/A. These values are numbers. When i put '7 for example i get the values i want from lookup table. I have a lot of these cells and its tedious job to put ' in front of every value. Is there a quicker solution?

View Replies!   View Related
Conditional Copy/Paste Special Values Macro
I have 9 worksheets in a book with sheets 1-8 used for data entry, and sheet 9 used for a weekly data upload. Sheets 1-8 are all formatted the same, they just represent different vendors. I need a macro to look through column F (invoice number) on sheets 1-8 and see if the value of each cell already appears in column c on sheet 9. If the value is not found and the row value for column M (sheets 1-8) is >0, I need to copy the data from columns D:K and paste special values into the next blank row on sheet 9.

Basically I'm trying to see if I've already paid an invoice, and if not then I need to automatically add the data for payment. I've tried to mess around with a VBA code myself and ended up with a migraine every time. I've also tried to use the advanced filter, but the cell values I need to copy over contain formulas and conditional formatting...not to mention I can't delete the data on sheet 9 that has already been added.

View Replies!   View Related
Date Format Lost With Paste Special-Values
Using 26th January 2007 as an example

I have formatted a cell to show this as dd 26.

When I copy and paste it to another workbork where I needed it shown as a number it appears as 39108.

Is there an easy way to convert the Convert Date Format?

View Replies!   View Related
Paste Special As Values Macro Only Works Intermittently
I often need to use Paste Special... Values, using Excel 2003. So I recorded a Macro into "Personal.xls" and assigned a shortcut key combination "CTRL-Shift-V" so that it would always be available. I first select one or more cells and hit CTRL-C to copy to clipboard, click on another cell, then hit CTRL-Shift-V to run the following macro: Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False

It often works . . . and it often fails. When it is working it seems to keep working over and over. When it is failing it keeps failing. So it is almost as if there are two "modes" of operation, which for lack of terms, for this post I will coin the terms "fail mode" and "fixed mode". Once I am in one of the two modes, it stays there for a while. When it is in the "fail mode", I always get the dreaded: Run-time error 1004: "Pastespecial method of Range class failed".

Since this problem is very intermittent, I believe this is why there are so many posts in the Internet about this, and so many people are replying back "it works fine for me". I have seen many solutions offered but none work so far for just a simple shortcut key to do a PasteSpecial :Values. Some solutions "work" . . . such as adding the PasteSpecial button to the Toolbar, or pressing ALT-E-S-V <Enter> - but both of these bring up the Paste Special dialog box which I want to avoid. I spent days trying the many solutions offered but so far all I have found is a trick to convert Excel from "fail mode" to "fixed mode". The trick is to add a line to the macro to first do a "Paste Special: Format:

Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False

View Replies!   View Related
Copy And Paste Special Values Issue/question
In the code below, I am copying information from a master sheet to various sub-sheets, but I cant figure out how, based on the way I have written my code, to copy and paste special values. I commented out the line that I need pasted special values.

Dim intData As Integer
Set wsData = Worksheets("Data")
LastRow = wsData. Range("A" & Rows.Count).End(xlUp).Row
Set wsCrit = Worksheets.Add
wsData.Range("E3:E" & LastRow). AdvancedFilter Action:=xlFilterCopy, CopyToRange:=wsCrit.Range("E3"), Unique:=True
LastRowCrit = wsCrit.Range("E" & Rows.Count).End(xlUp).Row
For I = 4 To LastRowCrit
Set wsNew = Worksheets.Add
wsNew.Name = wsCrit.Range("E" & I).Value
wsNew.Range("a3").Value = "Estimator"
wsNew.Range("a5").Value = "IP Number"
wsNew.Range("b5").Value = "Project Name" ......................

View Replies!   View Related
Copy To Another Sheet, Rename And Paste Special Values
i would like to copy a sheet to another sheet, rename, copy and paste special values. but after the sheet is copied to another, the macro stops working...?

Sheets("Proposal").Copy After:=Sheets("Proposal")
ActiveSheet. Name = "ProposalEmail"
ActiveSheet.PasteSpecial Paste:=xlPasteValues, operation:=xlNone, skipblanks _
:=False, Transpose:=False

View Replies!   View Related
Copy Multiple Worksheets With Paste Special (values)
I am trying to create a macro to copy multiple sheets to a single named worksheet, all within the same workbook. The code below works, except I want to copy only the data (no formulas). Can I add code to paste values, or do I need to start over?

Public Sub CopyandPaste()
Dim ws As Worksheet
For Each ws In Worksheets
If ws.Name <> "Summary" Then
ws.Range("a2"). CurrentRegion.Copy _

End If
Next ws
End Sub

View Replies!   View Related
Copy Paste Special Values Of Named Ranges
Been playing with this for some time and can't quite figure it out. I'm trying to copy a named range and paste special value to another named range of the same size. I recorded a Macro that does what I need, and I'll use if necessary, but thought I'd try to consolidate the code a bit and can't get it to work. The recorded macro is as follows:

Sub PasteRanges()
Application.Goto Reference:="DataCopy30Yr"
Application.Goto Reference:="DataPaste30Yr"
ActiveSheet.PasteSpecial Format:=3, Link:=1, DisplayAsIcon:=False, _
End Sub

My attempt to consolidate was this:

Sub PasteRanges()
Range("DataCopy30Yr").Copy Destination: Range("DataPaste30Yr").PasteSpecial (xlPasteValues)
End Sub

I get the Run-time error 1004 Copy method of Range class failed when I try to run this. Again, I can use the longer version with no problem, but in the interest of learning and since I have spent some time not being able to come up with the solution, I thought I'd ask the experts opinions before I gave up on it.

View Replies!   View Related
VBA Code To Create A Paste Special Values Keyboard Shortcut
I have written a short VBA code to create a Paste Special values keyboard shortcut.

Is there a way or a place that I can put this code so that every time I open any workbook in Excel, or open Excel itself that this VBA code will be active and I can use the keyboard shortcut?

View Replies!   View Related
Copy Paste Special As Values Based On Validation Cell Contents
Need VBA macro that will copy & paste (Special > AS VALUES) from one of two (Data A & B) sheets based on the contents of a validation cell ($D$4) in a third (Report) sheet? The destination starting cell would be $F$11. ALSO - I'd like to have the Named Ranges "DataAExtract" & "DataBExtract" used in the code (for the COPY region) so I can see an example of how to reflect my actual named ranges in my working file.

The reason for doing this is that the "c.Characters...." lines in my conditional formatting macros (attached) are not working on cells containing formula output (in my working file the Report page is all populated by VLOOKUP results), but the macros run fine on hard-coded values. In my attached workbook, I'd like to have the "NEW" macro for the copy & paste step fire first in the sequence of macros running after the FORM button-click (control located in cell $D$5 of the Report sheet), whether that's by writing a new macro and calling mine before the new one ends, OR by consolidating all of my macros plus the new one into one smooth progression.

With this low-tech approach I can get updated VALUES into the report area once the user selects a data source and a customer on the report sheet. The COPY ranges in my working spreadsheet will update based on the selections made in the report page. I tried recording a macro and then modifying the recorded code to add the "If > Then" functionality I'm looking for, but I'm pretty green when it comes to VBA code and syntax.

View Replies!   View Related
Paste Special Values Of A Formula To A Cell But NOT From A Defined Source Cell
my destination cells will have formulas like:

='E:My WorkTestData[CCC.xlsx]Input'!$S$31

Everything works fine. But I don't want the destination cells to display the full formula, but the actual Value only

I thought of a way to build a script that first builds the formula to one cell then Copy Paste Special value of that Cell to my desired Cell.

But when the code runs The cursor moves back and forth all the time...

View Replies!   View Related
Copy And Paste Special Values But Getting Error 'Compile Error - Expected Function Or Variable'
I am trying to run create a simple macro that copies and paste special values - something I have done 100's of times but for some reason I keep getting an error message - even though I recorded the macro and didnt write it by hand - see below:

Sub Macro6()
selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub

For which I get 'Compile Error - Expected Function or Variable'

View Replies!   View Related
Paste Can This Be Set To Default To Paste Special Values
Paste can this be set to default to Paste Special Values only ?

I have a sheet with a number of lists validated drop down boxes. The sheet is networked and works fine.

Problem other users as they are entering information into the required cells they are copying and pasting. Then the inevitable occurs they paste data into the wrong cells the validation from the original cell is pasted as well. Is there a way I can set paste special values only to be the default for the full sheet.

Unfortunately we use excel 97 in the office.

View Replies!   View Related
Special Diagonal Sum
Without VBA, how do I sum diagonals such as N2 and N3, but also like N7 where the values are limited to row 13? Hopefully, the post illustrates better than my words...

View Replies!   View Related
Paste Special Value
How would the code be changed below to be Paste Special Value?
The numbers copied are changing every few seconds and I want a snapshot of it.

im TheRow As Integer
TheRow = Sheet2.Range("A100").End(xlUp).Offset(1).Row
If TheRow < 6 Then TheRow = 6
Sheet2.Cells(TheRow, 3).PasteSpecial
If TheRow = 6 Then Range("B6").Value = 0 Else Cells(TheRow, 2) = Cells(TheRow - 1, 2) + 1 / 24
Cells(TheRow, 1).Value = Date
LastSoon = Now + 1 / 24 '1 hr from last time
Application.OnTime LastSoon, "Capture" 'set up for next hour

View Replies!   View Related
Paste Special
I have the following in my Workbook

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
'If you have any worksheet to exclude
If Sh.Name = "Sheet2" Then Exit Sub
With Target
If Len(.Value) Len(Trim(.Value)) Then

MsgBox "You just entered a leading space character in" & vbCrLf & _
" cell " & .Address(0, 0) & "." & vbCrLf & vbCrLf & _
"If you intend to delete the value in that or any cell, " & vbCrLf & _
"please press the Delete button on your keyboard.", 16, " No leading spaces allowed !!"

Application.EnableEvents = False
.Value = Trim(.Value)
Application.EnableEvents = True
End If
End With
End Sub
When I tried to Copy>Paste Special > Formats or Values of more than One row this line highlights

If Len(.Value) Len(Trim(.Value)) Then
That is, if I select C3:Q3, Copy, then select C10:C15 and try to do a Paste Special that is when it gives me an error 13: Type mismatch.

If I just select C10 and do the Paste Special, it's just fine.

View Replies!   View Related
Allow Only Paste Special
Is there a way to only allow paste special values or formulas within a cell? People are coping and pasting and screwing up the formating

View Replies!   View Related
Vba: Doing Paste Special | Add
I am trying to write a VBA code which will add any figure (say X) to the visible cells in the selected range. I am mentioning the visible part becuase my data might be filtered and thus. So far I have been able to figure out the following code(by recording a macro and then going behind the scenses to see the code):

Sub Add_X()
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlAdd, SkipBlanks:= _
False, Transpose:=False[/color]
End Sub

The problem is that how can (if possible) I can pass a parameter to the above code (which will be X; as explained above). There might be many possible solutions??? However one that comes to mind is that when I selected a range of cells and then run my code, a dialog box should pop-up and ask for a # and then then take that # to add it to the visible cells of the selected range.

View Replies!   View Related
Alternative For Paste Special
During the execution of some code I come to a point where the properties of a range of cells needs to be converted to numeric (is at that point text).
Normally I do that by adding a 1 in an cell nearby and use the copy/paste special method.

I was wondering if I can do that in a different way.
Is it possible to define a MultiplyFactor as 1, and use this in paste special part.

Something like: .....

View Replies!   View Related
Special Sign Removal
I got three columns in excel. Column A is a list of items, so is column C. Column B displays the similarity in the 2 lists.

I use the following command =IF(ISERROR(MATCH(A1,$C$1:$C$265,0)),"",A1).


Cat Fish
Dog Dog Roll
Bull Carpet
Apple Dog

But what I want to do is the following:

If I have "D-og 12 2-3" in column A and say "do g 1 22/3" in column C, I want it to be displayed in column B. To do that I need to decapitalise and remove all the special symbols such as space, ), (, *, &, ^, %, $, #, @,! etc.

So I get dog1223 in column B since they are the same.

View Replies!   View Related
Autofilter With VBA Special Selections
mycheck = ActiveCell

Sheets("Data in").Select

Selection.AutoFilter Field:=10, Criteria1:=mycheck, Operator:=xlcontains
The problem is that I have a value that is collected and put in to MyCheck. This value is only contains a few letters that I want the autofilter to filter.

e.i: The value i want to filter contains following.
What the autofilter is supposed to do is to show all cells that contains the value 01jan2007.
The cells that are supposed to be autofiltered looks like this.
2143 01jan2007 and so on...
I can not use "=" course the value is not the same as the others.

View Replies!   View Related
Special Character Remove
I have sentences which contains special characters (mentioned below) in a single column. I need to remove all special characters other than space. Could anyone help me on this...


View Replies!   View Related
Concatenating Special Characters
my requirement is to create db2 query with the existing excel sheet data.

Cells in the excel sheet contains special characters like { ) , ( , , ; , , , _ , ... }

These cells has to be merged, is there any function in excel to do that?
Concatenate function is not working..! getting data error

View Replies!   View Related
Macro To Paste Special
I have some simple Macro code that works fine for the COPY side of the action...

View Replies!   View Related
Special Date Formatting
I would like to know if it is possible to format a cell where you enter a date (08-02-2009) and it returns "08-02-09 thru 08-08-09" that weeks date range in that cell.

Format custom mm-dd-yy " Thru " mm-dd+6-yy
I know will not work but is there a way to do this??

View Replies!   View Related
Identification Of Special Numbers
I got some 10 digit numbers in column A, need to get the marking in column B as per the criteria given below for last 5 digit numbers. The checking should start with platinum. on getting a macro or any formulas for each criteria.

Category- For Last 5 Numbers MARKING Samples
Numbers Ending with Double Digit SILVER 9280015622
Ending with 786 (Without 0) SILVER 9280025786
First 2 Digits-0 & Last 3- From 101-998 SILVER 9280000101-998
Double Digit Repetition with 0 Separator GOLD 9280055055
Numbers in Sequence GOLD 9280012345
Numbers Ending with Triplets GOLD 9280052333
Numbers in Round Hundreds GOLD 9280082500
Numbers in Round Thousands GOLD 9280065000
Ending with Triplet GOLD 9280052333
Mirror Image Numbers GOLD 9280012321
Triplets with 0 as Prefix or Suffix GOLD 9280010444, 9280014440
Numbers having 786 (Others 0) XCLUSIVE 9280000786, 9280100786
Single digit Ending (All Others 0) XCLUSIVE 9280000001-9
Triplet followed by Double Zeros XCLUSIVE 9280055500
2 Consecutive Triplets XCLUSIVE 9280111555
Ending Quadruplet XCLUSIVE 9280056666
Last 4 digit 0 PLATINUM 9280010000
All Penta Numbers Including 0 PLATINUM 9280011111

View Replies!   View Related
Validation (special Characters)
Is there a way to check a special character in textbox?

For example if type "TWO*" then i press a button it must raise an error.

View Replies!   View Related
Two Special Count Formula
two formulas to search a range containing a unique 9 digit number which contain duplicates and then see if there are one of four values in another column.

Column A contains a unique SBI number(9 digits) and will be duplicated. In column E there are a possiblility of 4 other values which are read off a list. These are "Open", "In Progress", "On Hold" and "Closed.

SBI's Open

Need this formula to everytime it finds a unique SBI it goes to column E and count if any of the duplicate SBI's have Open", "In Progress", "On Hold" task and count it as an SBI which is still OPEN.

SBI's Closed

Need this formula to everytime it finds a SBI it goes to column E and count if any of the duplicate SBI's have only "Closed" tasks and count that.

There are duplicate SBI's because there are "Tasks which are listed under multiple SBI, so an SBI number can have 1 to ? tasks under it.

Want to basically count that all tasks under that SBI are closed if they are count it if not it's still open.

Have a formula to count the individual SBI already so maybe a only have the SBI closed formula and minus that count against the total SBI's to give the not closed SBI's ?

This formula is


If someone can tell me how without using a Pivot table as I have 260 spreadsheets which need this data and the pivot table takes too much memory.

View Replies!   View Related
Paste Special When Recording
On my spreadsheet I want to move a column at the start of the day (as one column is todays values, the one previous is yesterdays). I have tried the following but it doesnt like it:-

Sub RQV()
Dim warn As Integer
warn = MsgBox("Do you wish to move RQV data to yesterday?", vbYesNoCancel)
Sheet1. Unprotect
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub

It comes out with a run time error 1004? It needs to be a paste special as I just want the values put in. I have tried recording a macro to see how the vba code works, but it doesnt give me the option to paste special for some reason and I presume this is why the error occurs.

View Replies!   View Related
Paste Special Hot Key Creation
In the new 2007 version , can a specific hot key be created to perform Past Special Values? This key assignment was available in 2003, but we can't find it in the new 2007.

View Replies!   View Related
Special Vertical Lookup
I need to pull up the invoiced revenue by customer and month into Spreadsheet 1 from Spreadsheet 2, vlookup wont work and nested index and match wont work.



View Replies!   View Related
Paste Special Bit On Book
I have the following macro and it keeps coming up with syntax error.

Sub CopyIt()

Dim LasteRow As Long
Dim LastaRow As Long

LastaRow = Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
LasteRow = Sheets("Sheet2").Cells(Rows.Count, 5).End(xlUp).Row

Application.ScreenUpdating = False

Sheets("Sheet2").Range(Cells(2, 1), Cells(LastaRow, 1)).Copy
Sheets("Sheet1").Range("A2").PasteSpecial Paste:=xlValues,
Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False

Sheets("Sheet2").Range(Cells(2, 5), Cells(LasteRow, 5)).Copy
Sheets("Sheet1").Range("B2").PasteSpecial Paste:=xlValues,
Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False

Application.CutCopyMode = False


Application.ScreenUpdating = True
End Sub

It happens when it comes to the paste special bit on book 1.

View Replies!   View Related
Paste Special Value Whole Workbook
I am trying to come up with some VBA to paste special value an entire workbook.

View Replies!   View Related
Copy Paste Special Value
I just want to find out what formula could make a function "copy paste special value"?

View Replies!   View Related
'Paste Special' With Macro
I have a macro that copies the main report sheet in my workbook. The point of the macro is to get a copy of the report data without allowing anyone to see the formulas/data behind it - when it pastes, it pastes only the values in the tables and then copies the charts, deletes the live ones, and pastes only the images back on the sheet. The macro works on my computer and my partner's computer, but not on anyone else's. It stops at this point:

View Replies!   View Related
Macro Paste Special
I've got a sheet which has two column headings - Resources and Cost. I have another sheet which has the calculations for both of these. They are in cells H24 and D29 of the second sheet. I want to have a macro on the second sheet that if I click it, it will paste special these two figures (values only so no formulae), into the active cell on the first sheet. This is the code I've got so far but every time I run the macro it just pastes into the same two cells in the first sheet.

View Replies!   View Related
Paste Special Function
Got a bit of an issue with using the paste special function. I am trying to record a macro that would copy a group of cells that are verticle, and then paste them onto a new row in a different sheet.

I have done this in the past by enabling the record macro function and inserting a new row going back to the sheet with the data selecting the data copying it, and then selecting pasting area using paste special and enabling the "Transpose" box.

Although today i found this didin't work in fact it (this is the best i can describe it) merged each cell with the cell below givng a type of square function as can be seen below.

After i click ok, this happens

As you can see the cells are now twice the size.

View Replies!   View Related
Paste Special Is Always Greyed Out
Paste Special is no longer available in the Edit menu--it's grayed out. (I am using Excel 2003). I can't find any info on what disabled it or how to re-enable. It's probably something moronically obvious, but this moron needs a shove in the right direction.

View Replies!   View Related
Copy & Paste Special
I have the following code in a macro which works fine. Is there a way to shorten the code down to 1 line?

Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False

I would like to use the code in a Select Case Statement & the above code is too cumbersome.

View Replies!   View Related
Making A Special Chart
I want to make a chart in Excel similar to a Stacked Horizontal Bar Chart, except I want to be able to have spaces in between the bars of each row. I want to be able to have the separate bars represent spans of time, and I don't want them all to have to necessarily connect to one another. I tried the Floating Bar Chart under the Custom Types tab, but that doesn't let me have more than one bar per line (as far as I can tell).

View Replies!   View Related
Special Characters In Web Form
I need to fill out a web form and have been doing so like this:

With hDoc.forms(0)
.NameOfInputBoxWithinTheForm.Value = "AAC"
.NameOfInputBoxWithinTheForm.Value = "1/1/7"
End With

I have recently run into forms where the name/id of the input element contains special characters. Like Name#OfInputBoxWithin$TheForm$1. which VBA wont allow me to use in the code above since they are type def characters.

View Replies!   View Related
Special Copy And Paste From One Sheet To Another
This is a macro i have been using to update update information from one sheet to the next empty row in another sheet within the same workbook.

Sheet2.Unprotect Password:="Climber7c+"
With Sheets("FeedbackForm").Range("B7:N8")
.Copy Destination:=Sheets("Feedback & Performance").Range("A" & Rows.Count).End(xlUp).Offset(1)
Sheet2.Protect Password:="Climber7c+"

The problem is i don't want to copy the formating, cell protection properties and comments, just the values with in the cells.

View Replies!   View Related
Copyright 2005-08, All rights reserved