Userform That Pulls And Edits Cells

Jan 28, 2010

I am trying to put together multiple userforms that perform separate tasks. I have been using code found on this forum, and it's helped out a lot, but i'm still having trouble on one of the userforms. the one that i'm having the biggest trouble with called frmEditData. What it is designed to do is pull data from different fields and display them in the textboxes on the different sheets. then, the user has the option of updating those tabs and saving the changes. For the life of me, i cannot get the data to change. it always reverts back to the original information in the cells.

i have to say again that I don't really know how to read the code too well just yet, and i've been copying code that appears to work on other sheets, but it might not necessarily work here. I have attached a rough copy of what i've been working on.

View 7 Replies


ADVERTISEMENT

Macro Pulls A Userform

Dec 7, 2009

I've got a working macro that pulls a Userform. Everything works correctly but I'd like to have the form displayed on the far right instead of center screen. I've tried all the options on the form properties list to no avail.

Private Sub Workbook_Open()
ActiveWindow.WindowState = xlMaximized
Worksheets(1).Select
Range("A1").Select
UserForm_1.Show
End Sub

View 9 Replies View Related

Record Cell Entries & Edits/Changes

Jun 22, 2008

I am looking to identify when

a) New comments are entered in cells

b) When changes are made to existing comments

c) New cell entries

d) Changes to existing cell entries

I have mocked up a typical example between sheet 1 and 2. I have found tools that will identify cell entry changes (i.e. c & d) but not on cell comment changes (i.e. a & b).

View 4 Replies View Related

Lock A Sheet But Still Make Some Edits/run Macro

Oct 18, 2009

Some of the sheets in my spreadsheet contain some data and graphs with a few macros that are run when a button is pressed. At the bottom I have some comments with a macro that is run to timestamp when these comments are updated or edited.

What I would like to do is lock the entire sheet so that the data and graphs can't be tampered with, apart from the comments part at the bottom because I'd like to be able to have the comments editable. So far I have managed to do that, but when I edit a comment and the timestamp code is run it creates a run-time error 1004. I could just remove the timestamp code I guess but I'd like to keep it there... figuring that there must be a solution.

How can I work around this problem ? Either by being able to keep the sheet locked and still have the timestamp code run, or have it temporarily unlock the sheet - run the code - and then re-lock the sheet.

View 10 Replies View Related

Macro That Edits Formulas Based On Checkbox

Jul 19, 2006

When I click this button, a new row is inserted. Depending on whether this checkbox is checked, I want some of the formulas to adjust.

Public Sub AddEntry()
thisone = ActiveSheet. Name
FinalRow = Range("A65536").End(xlUp).Row
Range("A" & FinalRow + 1).Select
Selection.EntireRow.Insert 'just inserted a new row
x = Range("T1").Value
Sheets("Calculator").Select
Rows(x + 3).Select
Selection.Copy
Sheets(thisone).Select
Rows(FinalRow + 1).Select...........................

View 3 Replies View Related

Vba Code Used To Send Lotus Notes Email - A Few Edits

Feb 27, 2008

1. I dont want this to auto send. I want it to compose the mail and leave it ready to hit the send button in lotus notes. How do I do that?

2. Would like to include multiple emails. If I put two emails (separated by comma or semicolon into cell C19, Lotus notes sends as one address and it bounces. (This is not terribly important, but would be a nice feature)

3. Would like to insert the signature line that's already configured on lotus notes. Since this auto sends the email, the signature is not added. Any idea how to do this?

4. Now this would be really nice, tell the macro which database to use. The one I want to use is not "my" email, but a shared email. It lives on server "Notes1/recovery" , in folder "mail" with a database named "company.nsf". Is there a way to do this?

Here is my code that works, but needs the above features.


Sub SendNotesMail()
Dim Maildb As Object
Dim UserName As String
Dim MailDbName As String
Dim MailDoc As Object
Dim Session As Object
Dim Recipient As String
Dim Subject1 As String
Dim ccRecipient As String

View 9 Replies View Related

Create Triangle That Will Adjust Angle-size When User Edits?

Sep 12, 2012

I have a matrix that calculate lenght of the sides in a triangle, this is for the purpose of a camera and the pixelsize/inchsize.

Is it possible to create a chart that will give the user an visual control on how the cameras detection area looks like?

View 2 Replies View Related

Excel 2010 :: Pivot Table - Manual Edits Don't Revert On Refresh

Oct 22, 2012

If a user changes some data in a pivot table and then refreshes the table, the changed values are supposed to revert to the source data, right? This does not happen in my pivot table.

Any changes made in the underlying data get transferred to the pivot table refresh, as expected. But if I change some values in the pivot table, followed by a refresh, then the cells that I changed remain the same unless I happened to modify the corresponding values in the underlying source data too. In other words, the refresh operation does not touch the pivot table except specifically where an update is driven by a change in the underlying data.

This behavior is different from what i remember from, say, excel 97 / 2000.

View 3 Replies View Related

Pulls The Values For 01 Nov

Nov 9, 2008

see the below link...

http://www.mrexcel.com/forum/showthread.php?t=350701. So far this is the closest I got, but it only pulls the values for 01 Nov. =NDEX(NS_Tally!W1082:W1360,MATCH($J$32,NS_Tally!V1082:V1360,0))

View 4 Replies View Related

Choose And Option And Information Pulls Up

Mar 28, 2007

I am trying to create a spreadsheet for all the different Myers Briggs personality types. I want to pull down on a menu say ISFJ and in the next column will produce how to communicate to a person who has an ISFJ personality.

View 9 Replies View Related

Formula Look That Pulls/puts The Right Number In E19 And F19 Respectively

Jul 23, 2009

How would the formula look that pulls/puts the right number in E19 and F19 respectively, taking input from the list above?

View 2 Replies View Related

Vlookup Pulls Text Formats

Jul 14, 2007

Is it possible to get Vlookup to pull the format of text across to the new cell?

For example, if the source data is bold, can you get it to show up as bold in the new cell? Or worse, if there are multiple formats in the original cell (like some text is bold, some is red font etc.) can that be pulled across through Vlookup?

View 5 Replies View Related

Create Dropdown Box That Pulls Its Selection From Another Sheet?

May 1, 2014

I am trying to create a drop down box that pulls its selection from another sheet in the workbook and I'm not sure how to go about doing it. I figure VBA must have some way of doing it but I am not sure how the coding would go. I've attached a very basic example of what I am trying to accomplish.

Drop Down Box Ex..xlsm

View 3 Replies View Related

VBScript That Pulls SNMP Data From Some Devices

Nov 21, 2008

I have a VBScript that pulls SNMP data from some devices. It uses two external EXE's called "SNMPGET.EXE" & "SNMPWALK.EXE". When the script runs, it pulls specific information from our SNMP devices (in this case, I am pulling temperature values from Netboz Devices). The script looks like this :

View 2 Replies View Related

Vlookup That Pulls Data From Another Work Sheet

Dec 1, 2006

i have created a Vlookup that pulls data from another work sheet, it all works fine apart from this one thing....

On a work sheet i have a lot of hyperlinks that work fine, but as soon as they get pulled over using a Vlookup, the name of the hyperlink comes accross for example "link 1" but you can not click on it to take you to the link like you can on the original one.

View 14 Replies View Related

Pulls Crosstab From Access; How To Update New Months

Jul 16, 2008

I have a crosstab query in Access that groups by month and year. In Excel 2003, I have a query that pulls in the crosstab query.

At the time, I couldn't just pull in the Access table. For the other Access tables and queries, I could go to Data >> Import External Data >> Import Data >> select the database as a source >> select the table name.

However, to get the crosstab query, I had to go to Data >> Import External Data >> New Database Query >> MS Access Data Source* >> browse to my database >> select the crosstab query name >> select the data I wanted.

Since I wanted all the data, there did not seem to be a difference. But now that new dates are being added to the database, there *is* a problem. When I wrote the query, I only included the months available -- up to June 08. Now that there is data in July 08, that month exists as a heading in the crosstab, but Excel's query doesn't know to pull it! I have to manually edit the query to add the new month.

So my question is... is there a way to do this automatically? I have two crosstabs in five different spreadsheets, making a total of ten manual updates I have to remember to do each month.

View 9 Replies View Related

Master Spreadsheet Pulls Variable File Name Data

Jan 22, 2014

I'm creating a master spreadsheet and I want it to pull live data from other spreadsheets depending on a variable.

I've a cell that has a variable date. I've files saved that have this variable attached to it in the name format: 'filename variable'.

I want to pull data, hopefully live, from workbooks based on this variable.

For example, I have files: generic 01212014, generic 01222014, generic 01232014.

The date is stored in the master workbook say in A1 that I can manipulate by entering a different date to pull data from a different workbook.

='[generic 01212014.xlsm]Database'!$L$3
='[generic 01222014.xlsm]Database'!$L$3
='[generic 01232014.xlsm]Database'!$L$3

There has to be away to make the bolded portions of the file name variable, right?

View 2 Replies View Related

Vlookup: Pulls The Wrong Data Until A Correct One Occurs

Jul 13, 2009

I am having problems with the function vlookup. I attached an excel file of my problem. It seems to pull the correct lookup, then it pulls the wrong data until a correct one occurs. My excel attachment should make more since of my problem. It will also pull data that is invalid. For example, the name "S5" is not a in my original data so it should not be able to find that?? Sorry, this is hard to explain - let me know if the file is not clear enough.

View 3 Replies View Related

Query That Pulls Data From A 2007 Access Database

Nov 11, 2009

I need to create a new query that pulls data from a 2007 Access database into Excel 2007. When I invoke the 'From Microsoft Query' option after 'Data/From Other Sources', and then select 'MS Access Database*', the only file type presented is '*.mdb' . However, I need to pull from an '*.accdb' file type. I have both Office 2003 and Office 2007 installed.

View 8 Replies View Related

#VALUE / Pulls Stock Prices Every Minute And Update Page

Apr 18, 2006

I have a script that pulls my stock prices every minute and update an excel page I've created...basically an excel stock portfolio...the problem I'm running into is when a stock is unchanged...instead of being $0.00 it returns "unch"...as you can imagine this throws my calculations into chaos...I have the following formula but it doesn't seem to be working =IF(J18<0,R18*J18,(IF(J18>0,R18*J18,0)))

Basically J18 is the returned change in stock price...R18 is the number of shares held...how can I get it to view "unch" as $0.00?

View 2 Replies View Related

Excel 2003 :: Dropdown Pulls String Value (paragraph) And Concatenated

Jan 5, 2014

New user with basic knowledge faced with a multi-part challenge.

I have a list of 10 items (multiple words) in a drop down

Based on what is selected in the drop-down, I am trying to figure out the best way for it to pull the corresponding text paragraph. This would then be concatenated with a numerical value inputed b the user in another cell. The final output would be displayed in a final cell.

I have figured out how to concatenate between one cell and the other cell with the paragraph but I am at a loss for how to make it more dynamic in the sense that the drop down selection drives the paragraph being selected and then taking the value in cell A1 to concatenate within that paragraph and outputting the final text to be copied out from excel.

I tried looking at posts for dependent data verification and I felt like I was on the right track but hit a wall.

Excel 2003

View 9 Replies View Related

Spreadsheet Pulls Values From A Column When A Month Is Inserted In A Certain Cell

Nov 21, 2005

Our spreadsheet pulls values from a column when a month is inserted in a certain cell:

OCT is typed in B2 and in the column below it, from B10 down to B286, data (numbers) are pulled from the October column K10 through K286 using =IF($B$2="Oct",K10,IF(and so on for each month). IF Nov is typed in B2 then the same happens except data is pulled from the November column, L. The monthly columns from K through V are tied to and updated
from other sheets. As you can see the problem is that nested functions allow only 7 and I need 12, one for each month. I have looked at the VLOOPUP and the HLOOKUP but our data is not set up that way (tables) since they need to be exact numbers pulled from the monthly columns that are tied to other sheets.

OCT (B2)

OCT NOV DEC
Complaint 3 (B10) 3
6
Inspection 10 (B11)
10 2
NOV 11 (etc)
11 5
Door Notice 1 and
so on
Recheck 32
Citation 2
Work Order0
Demolition 0

View 11 Replies View Related

Pulls And Sums From A Reference Table For Highlighted Yellow Area

May 28, 2012

I need a formula for the highlighted yellow area that pulls and sums from a reference table. Not a traditional Vlookup because the reference within the report can appear in multiple columns within multiple rows.

ReportABCDEF1AccountJanFebMarApr2Overtime(L7)Overtime300 300 300 300 3
Salaries(L8)Salaries1,170 1,170 1,170 1,170
Expected ResultsReference PageABCDEF1
Account 1Account 2JanFebMarApr2
Additional PayOvertime(L7)1251251251253
Additional PayOvertime(L7)1751751751754
Salaries(L8)Ex Staff2252252252255Salaries(L8)
Ex Staff3253253253256Salaries(L8)Ex Staff4104104104107Salaries(L8)
NE Saff1101101101108Salaries(L8)NE Saff100100100100

View 2 Replies View Related

Nested Loop Not Working; Pulls Data From Multiple Files Into One Table

Aug 8, 2006

I've got this code that pulls data from multiple files into one table. the file name is in the top row, and each file's title, and two different sums display below that. Then it is supposed to loop through and display each task and the start and end date for that task within each file. After that the first loop brings it to the next column and file. The primary loop works fine, but the inner loop only seems to run once, as I get only the first result for each file. All I can figure is that maybe my row numbers aren't resetting like they're supposed to, or I'm completely overlooking something, which is likely, as VBA is by no means my forte.

Sub Worksheet_Calculate()
Dim sBook As String
On Error Resume Next
Application.EnableEvents = False
Col = 8
' Sets start column
Do
sBook = Cells(2, Col)
' References file name
TaskRow = 6 ........................

View 5 Replies View Related

Arranging Outputs: Pulls The Weather For Today Into Cell A1, And The Forecasts For The Following 3 Days Are In A4, A9, Then A19

Feb 10, 2007

The weather data I receive from a web query pulls data in oddly. For example, some days it pulls the weather for today into cell A1, and the forecasts for the following 3 days are in A4, A9, then A19. The cells in between are blank, and the problem is that it pulls it in randomly otherwise I could just have the cells reference it (ex. some days it pulls it into A2, A8, etc) What I need to do is arrange it, in order, without the blank rows, but I want to do this without deleting the rows.

View 4 Replies View Related

Running Query To Access: Pulls Data From 2 Columns In A Table And Pastes It To The Spreadsheet

Jul 10, 2009

I have an Excel spreadsheet with a query to an Access table. The query pulls data from 2 columns in a table and pastes it to the spreadsheet. I am trying to update the VBA a little on one sheet and now I get the attached error whenever the code tries to run in Excel. Here is the code with the offending portion separated at the top.

View 2 Replies View Related

Apply Formula In New Column That Pulls Unique Values From Another Column?

Apr 24, 2014

see the attached spreadsheet including the data. In Column AA I have created a formula that looks at Column B, and pulls each unique value from that column. add to this formula, or propose a new one, that pulls unique values into column AA if at least one of the rows has an "Actual Finalization Date" in column D that is in 2014?

View 1 Replies View Related

Editing Worksheet Which Pulls Data From Another Worksheet?

Jan 28, 2013

I have a two identical worksheets in the same workbook with two tabs (Search, Database). The Search worksheet contains a search engine at the top which searches by column, and pulls rows from the Database tab, which match the search queries. However, the rows that are pulled up in the Search tab cannot be edited as they are all MATCH formulas. Only the rows in the Database worksheet can be edited.

This can be quite problematic if I am searching a row to edit it. Although the search engine is convenient enough and faster than filtering (as I have over 20 columns), when the row comes up, I cannot edit it. I have to go to the Database sheet and filter through until I find that row, and THEN edit it. What I require is that when I search for something and the matching rows get pulled up, I want to be able to click a button which will take me to those rows in the Database sheet.

View 14 Replies View Related

From UserForm To Cells

Jul 14, 2006

How can I pass the contents of 23 textbox to cells A1, B1, C1.....W1 at once (just by clicking a CommandButton), using variables for the textboxes or for the cells (or even creating a control array) ??? I wouldn't like to use "Range ("A1") = Text1", "Range ("B1") = Text2"......"Range ("W1") = Text23".

View 2 Replies View Related

Deleting Cells With Userform

Dec 13, 2006

i have worksheet with peoples details in it... i have a userform with a combobox and a delete command button in it with the persons name in the combobox... and i cannot figure out how to delete the persons details with the combo box...

View 9 Replies View Related







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