Transfer Cells Values To Cell Comments

Aug 22, 2007

I have a report where, month in month out, i have to append columns on the right, to give a Year to date figure. Now there are many rows with different numbers but one of the columns is call [NOTES]. This is where the user can provide commentry on the weekly figures.

Now whats getting annoying is i have to copy this commentry and then create a comments box then paste the text in there and finally, hide the comment.

So what i want to be able to do is be able to Copy the cell, then, have a right click menu button saying "Paste As Comment", so it paste the selected cells contents into a comment and hides it.

View 9 Replies


ADVERTISEMENT

Transfer Comments With Cell Value Using Formula

Jul 15, 2009

I am dealing with large amount of data.

In the first worksheet, there are multiple comments and I need the property of the cell including the comment to be transferred to the second sheet using a formula.

Suppose in "Sheet1" in cell A5 it says "Number of Sales" with a comment "Check everyday".

Know I need to transfer this to say in "Sheet2" in cell A5. So in A5 of Sheet2 I can type
='Sheet1'!A5
This only brings the text and in this example it would say "Number of Sales" without the comment. All i need is for the comment to be joined with the cell.

I do not how to use Visual Basic and need your help

I cannot use Copy Paste in this case because the file is too large.

If there is no comment it should just write the value of the cell and if no value in cell than it should leave it blank. I will attach a file as a example

View 13 Replies View Related

Store Values Of Cells With Cell Comments

Jul 1, 2008

I have a worksheet where some cells contain a comment. I don't know beforehand how many of those cells are present, nor their address. I want to write a macro that stores the values of only the cells that contain a comment into an array (of course the size of the array is not known beforehand). This should be done by scanning through those special cells in a given order (by rows, by columns, whatever).

View 4 Replies View Related

Transfer Array To Range Of Comments

Apr 10, 2008

trying to speed up run time of legacy app, learned that setting a range = an array is a better strategy than manipulating cells one by one, no problem with this approach on cell values but getting errors trying same approach with comments as follows:

Range(Cells(lRow, lOrigCol), Cells(lRow, lCol)).Comment = aRowComment

I get the runtime error "Object variable or with block variable not set". When I try to append .Text to .Comment, I get a compile error.

aRowComment is an array of comments. I saw a post on doing this from range to range but cant find anything on array to range.

View 9 Replies View Related

Comments Based On Cell Values

Aug 4, 2008

I would like help with a formula or VBA that would show comments based on cell values.

For example, if cell A1 has cell value '2143', I want comments to be 'Twinkle Twinkle Little Stars' and if cell D1 has cell value '4567', I want 'Humpty Dumpty Fall on a Wall', and etc. How can I do it? I have about 35 different cell value categories. I appreciate any help you can give me. Thanks in advance for your time and effort.

View 9 Replies View Related

Macro To Transfer Values From Cells

Dec 16, 2008

I have some values in Range F2, F26 ,F48 and so on.

I need to transfer these values using a macro to
C8776
C8777
C8778 and so on.

Since there are a lot values , I would like to have a macro for this operation;

View 5 Replies View Related

Format Cells With Cell Comments

Nov 16, 2006

1)After comparison and no difference between the cells
1.1) If the cell selected is blank then there will not be any color
1.2) Else the cell will be colored GREEN

2)After comparison and there is difference between the cells
2.1) Cells wiill be colored RED

However, my code seems to be unable to execute (1.1) . Pls help to see if there's any thing wrong with my code

For K = 1 To 31
For L = 1 To 29
'Do a comparison of the cells
If StrComp(Array_compare(A, 1), Array_compare(A, 2)) = 0 Then

If IsEmpty(Array_compare(A, 1)) Then
Sheets(3).Select
Cells(K, L) = Array_compare(A, 1)

Else
Sheets(3).Select .................

View 9 Replies View Related

Move Cell Comments With Cells

May 3, 2008

I have a cell comment on a series of columns and want to show only one column at a
time. For this reason I hide the ones not used, but the cellcomment doesnt move and
is still at the original place. How I move the comment when the original colums between are hidden ?

View 2 Replies View Related

Transfer Of Values From One Cell To Another

Jan 24, 2009

If i have a basic formula that reads a6=(a2*a3*a4)/a5

i need a5 to be entered as one value but be equal to another. Such as 12=6530 and 10=10380 ...

View 10 Replies View Related

Match Cell Values And Transfer To Different Sheets

May 23, 2014

I have Information found on Sheet 1. I need the program to take the value found in Column B and try to find matches found on Sheet 2 in Column B. Here's the thing it is only going to take the first 3 characters found in the Cell on Sheet 1. But in sheet 2 it will need to pull all information that matches those 3 characters. I included a sheet on what the finished product should look like for two of the sheets. If the program finds a match it will transfer the original and the copied match to a sheet Named "Name". The correct format can be found on "Finished Sheet Name". If no matches are found it will place the original information from Sheet 1 onto a sheet called "New".

Test2.xlsm

View 5 Replies View Related

Separate Cell Values With Comma And Transfer Into Column

Mar 27, 2013

I wanted to separate my cell values with comma into a column

Item
DepIDs
No
IDA

1
2000
1
2000

[Code]...

the output will be below table,

Item
IDA
DepIDs
1
2000
2000

[Code]...

View 2 Replies View Related

Find Unique Values, Transfer Adjacent Cell To Another Workbook

May 22, 2007

I have a main workbook that is meant to summarize data from other workbooks

In Row 6 from column H on I have workbook names in each cell

Column G in all workbooks (including the main one) contains our branch #'s for our offices

For each workbook listed in row 6 , I need to open that workbook (I have that setup with the code below---notice there is an AX.xls that is appended to the file names listed in row 6 in order for the names to match what is in the windows directory)

In the newly opened workbook, I need to, for each value in column G, copy the value from adjacent cell in column H (the dollar value) then search column G of the main workbook for a matching branch and paste the value to the appropriate row under the workbook name column (remember workbook names are in row 6)

The trouble is, for each branch in column G in the newly opened workbook that cannot be found in the main workbook, I need to paste the new branch # at the bottom row of/in column G and the $ value (H column value from the newly opened workbook) to the corresponding row under the workbook name column

Sub OpenWBs()

Dim Rng As Range
Dim WB As Workbook
Dim MyPath As String
Dim lastCol As Integer
Dim newRange As Range

lastCol = Cells(6, Columns.Count).End(xlToLeft).Column

Set newRange = Range(Cells(6, 1), Cells(6, lastCol))

MyPath = "F:AccountingAPAdvertising AccountsLA TimesAgentExtractorCompletedLIST"

For Each Rng In newRange '

View 9 Replies View Related

Advanced Filter To Filter Cell Comments With The Cell Values

Sep 23, 2006

I have many sheets which I am using the advanced filter to filter the data to a single summary sheet. Everthing works great with one exception. I have cell comments added with relevent info to to cell values. When the advanced filter is performed the cell comments are not transfered to the summary sheet with the cell values. Is there a method to filter the data to another sheet and keep the comments?

View 5 Replies View Related

Copy Cells From A Sheet And Transfer Only The Values To Other Sheet?

Feb 20, 2014

I'm trying to copy the cells from a sheet and transfer only the values to other sheet.

I did it via code and it worked fine, except for the dates. In the new sheet the months and days are swapped.

The original date is composed via the concatenate function, since it gets inputs (day, month and year) from the user in different cells. It's in the format D/M/YYYY (examples: 4/2/2014, 10/12/2013). I believe the excel interprets it as Text, even if I formated the cells to Date.

I think it may have something to do with the default format in different countries. Here in Brazil we use DD/MM/YYYY, but my Excel is in english and in US the format is MM/DD/YYYY, am I right?

View 2 Replies View Related

Prevent Copy / Paste Cells With Comments Or Allow Paste But Do Not Paste Comments

Feb 4, 2014

How would you prevent the copy/paste of cells that have comments?

Also, how would you allow cells with comments to be copied and pasted without pasting the comments?

I also have an aside question about the forum advanced search. When searching for multiple search words, how would you type the search to include all words, for example, "prevent" & "paste" & "comments".

View 7 Replies View Related

Deleting Comments In Blank Cells

May 6, 2009

Is there a way to delete comments in a selected range of blank cells?

View 7 Replies View Related

Adding Comments To Cells Via Macro

Oct 8, 2009

When adding a comment I check for an existing comment, if exist then delete and add new comment and some text in that cell. This works as long as the cell has an existing comment; other wise it advances to the "Else" where I thought I would be entering a comment and text in an empty cell. Why does my macro treat an empty cell as if it has a comment?

View 4 Replies View Related

Insert Comments In Merged Cells?

Apr 20, 2012

The macro below only works for a single cell, how to include merged cells?

Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Excel.Range, Cancel As Boolean)
On Error Resume Next
Dim cmtText As String

[Code]....

View 2 Replies View Related

Transfer Of Values From One Sheet To Another

Jun 24, 2013

I am trying to transfer a set of values from a column on sheet1 into cells on sheet2. Sheet2 contains labels I made up so the cells I want the values transferred to are not in column format. Is there a way to write a formula so that it will transfer the values indirectly? By indirectly I mean that I want sheet1 a1 to go to sheet2 a1 then I want sheet1 a2 to go to sheet2 a32.

View 5 Replies View Related

Comment Feature Without The Red Triange On Cells With Comments

Jul 22, 2009

I'd like to know how to have the comment feature without the red triange on cells with comments. I didn't want to use data validation comments because I want the hover feature.

View 5 Replies View Related

Edit Comments Not Working For Certain Cells In A Column

Aug 28, 2009

I try to edit comments in cells of a certain column and nothing happens. I am able to edit other comments throughout the spreadsheet, but when I select "edit comments" for these particular cells, no edit box is displayed for editing. It worked fine a couple of weeks ago.

View 11 Replies View Related

How To Give Comments To Multiple Cells At A Time

Feb 4, 2012

columns consist of 1,2

I selected only 1 value of cells

I want to add comments to all the 1 value cells by selecting all 1 by shift + ctl +down

I can put same comments to all the cells?

If you want to have the same comment applied on many cells you could apply it to a single cell, then use the copy and paste special tool bar commands (under Edit) In Paste Special select "Comments" but value is going of that cell.

View 5 Replies View Related

Macro To Convert Range Of Cells To Comments

Jul 12, 2007

Reference the archives at:
http://www.mrexcel.com/archive/VBA/17448.html

How can I modify this sub to skip cells that are empty? I only want cells that are populated within the range to actually display the comment indicator, with the cell text transferred to the comment.

Ideally, I'd also like the text to be moved (not just copied) to the comment and leave an 'X' in the cell, in place of the text that was transferred to the comment, but I'll settle for the action above.

View 9 Replies View Related

Macro To Delete Comments And Unhighlight Cells

Oct 24, 2007

I am having trouble writing a macro to do the following. Someone had created a spreadsheet a while back that highlighted the cell green and inserted a comment with the person's name and date/time if they changed anything in that cell. The macro works great, but I need a macro to undo the changes.

I would like a macro that will remove all comments from the sheet and revert the cells back to their original color. Since the cells encompass many colors, at the very least, I would like the macro to remove the comments and make the cells the default shading (white).

View 9 Replies View Related

Change Cells Comments Commented By Text

Dec 28, 2008

I noticed that I have several (@200) comments that when visible displays Cell X Commented by (my work user number) in the lower left corner of the excel window. I'm not sure how to change this so its the company name instead of my work number. I'd be using a loop to go through each comment but need help with the line that would change this part.

View 8 Replies View Related

Copy Values From One Spreadsheet And Transfer To Another?

Aug 31, 2012

I am currently trying to run a macro that will take all of the values from one column in a workbook, copy and paste them in another sheet in the workbook. The data may vary in size and the macro must run until the preceding columns value (on the same row) is empty, which will signify that there are no more values to copy. Also this data may duplicate, which in this case I would only like to paste unique values.

View 1 Replies View Related

Transfer Values And Formatting Without Using .copy?

Jan 20, 2010

In a proceedure I'm trying to copy some ranges including: text,cellcolor and borders to a number of different places. What I've got from modifying the macro recorder was

View 2 Replies View Related

Transfer Values To Sheet From CommandButton

Jul 3, 2014

I have a Userform1 that is launched on a Before_DoubleClick Event. This UserForm1 has a CommandButton1 on it. When CommandButton1 is clicked I would like for it to transfer information into "MySheet" based on the current Cell address. I have the below code but it is not working correctly(The red parts are where I am having difficulty). Here is the Worksheet Before:

Worksheet Click Event is Initialized Assume Active Cell is A2:

Excel 2012
A
B
C

1
BatchDate
BatchNumber
Initials

[Code] ....

MySheetThe data above this instance will be contiguous for Example:
Excel 2012
A
B
C

1
BatchDate
BatchNumber
ID Number

[Code] ......

MySheet

Sheet to Paste Data After Procedure:
Excel 2012
A
B
C

1
BatchDate
BatchNumber
ID Number

[Code] ..

MySheet

Code:
Private Sub CommandButton1_Click()
Dim LastRow As Long
Dim BatchDate As Range
Dim BatchNumber As Range

BatchDate = Range(Selection.Address).Value

[Code] ......

View 4 Replies View Related

Transfer Range Values To Another Sheet

Mar 12, 2009

why the last line below errors when the line before doesn't?

Error 1004 Method ' Range' of object '_Worksheet' failed

Sub tester

Dim wbThis As Workbook
Dim wsSrce As Worksheet
Dim wsDest As Worksheet
Dim lastSrceRow As Double
Dim lastDestRow As Double

Set wbThis = ActiveWorkbook
Set wsDest = Workbooks(wbThis.Name).Sheets("Detination")
Set wsTmpl = Workbooks(wbThis.Name).Sheets("Source")

I've been through countless threads, specified xlapp.... etc.

View 4 Replies View Related

Transfer Lookup Values Between Workbooks

Dec 19, 2007

I have two workbooks with the same sheet names.
One workbook is called "Main" and the other is called "Subset".

Column D in each sheet is mostly identical between the two workbooks and contains the LOOKUP references.

I would need a macro (called from the "Main" workbook) which allows the user to browse for the "Subset" workbook.

Once selected, the macro should cycle through all sheets of the "Subset" workbook and for column D values LOOK them UP in "Main" workbook and transfer the adjacent values from column C of the "Subset" workbook to column C of the "Main" workbook.

Appropriate error handlers need to be in place for:

- Selecting the appropriate workbook (i.e. one which contains identical sheet names)
- The "Main" workbook is likely to contain additional sheets which should be ignored by the macro
- Column D LOOKUP entries which are not found in the "Main" workbooki should be ignored (and vice-versa)

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved