Possible To Send Scroll Up / Down To External App?
Jan 10, 2010
Do any of you know if it's possible to send a scroll up / down to another app, perhaps in some fashion similar to send keys? I'm essentially pulling data from a proprietary UI into a spreadsheet where I can manipulate the data...the problem is that some of the pages have a table on the bottom half of the page with a vertical scrollbar - and I can't seem to get to the lines which are out of view.
View 4 Replies
ADVERTISEMENT
Nov 26, 2007
I am using the toolbox/ properties method to restrict the scroll area in the sheets of my workbook. However, for some sheets when i keep the right hand arrow pressed, the screen will not scroll to the last column. (i.e. the screen display will not move with the selected cell box)
View 2 Replies
View Related
Sep 7, 2008
I used Scheduled Task to set up my spreadsheet to open daily. I have the code with assistance to pull out the due date items and place them into an email.
I have come across XLSTART/AUTOEXEC/ACTIVATE...ETC...
But cannot figure out the code that will automatically "enabling macro" once Scheduled Task opens the spreadsheet?
Then once the macro runs, the email with the due dates, how can this auto send without user interaction?
(currently I would have to hit send)
I am trying to make the process totally automated to open the spreadsheet at a certain time, send the email with due dates and close the spreadsheet.
Following code in ThisWorkbook--
Private Sub Workbook_Open()
Check_Date_Send_Mail
End Sub
Code in Module1--
Option Explicit
Sub Check_Date_Send_Mail()
Dim wbBook As Workbook
Dim wsSheet As Worksheet
Dim rnDate As Range, rnValue As Range
Dim stAddress As String, stMsg As String
Dim stRecipient As String, stSubject As String
Dim stPost As String
Set wbBook = ThisWorkbook
Set wsSheet = wbBook.Worksheets("Sheet1")
With wsSheet
Set rnDate = .Range("d2:t23")
End With
View 9 Replies
View Related
Jan 13, 2007
In the menu via TOOLS-->OPTIONS-->VIEW I am trying to remove the scroll bars from just one worksheet but when unticked, this option affects all of the worksheets in my workbook. Is there a way to just nail this selection down to one sheet via properties?
View 2 Replies
View Related
May 16, 2007
We use proprietary software to connect to an oracle database. The proprietary software has its own login form. I connect to 4 or 5 different databases randomly throughout the day. I wrote a script that I thought would alleviate my login woes but it doesn't work. The login, password, and database info get sent to the form but they all end up on the login line. Instead of the tab character being sent, I get a Beep generated for each line of code that is supposed to send the tab key code. My code is below and is stored in a *.vbs file.
setwshShell =wScript.CreateObject("WScript.Shell")
wshShell.AppActivate "Title Of My Login Form"
wScript.Sleep 100
wshShell.SendKeys "My Login Name"
wScript.Sleep 500
wshShell.SendKeys "{TAB}"
wScript.Sleep 500
wshShell.SendKeys "My Password"
wScript.Sleep 500
wshShell.SendKeys "{TAB}"
wScript.Sleep 500
wshShell.SendKeys "Name of My Database"
wScript.Sleep 500
wshShell.SendKeys "{TAB}"
wScript.Sleep 500
wshShell.SendKeys "~"
View 8 Replies
View Related
Jul 12, 2014
I have used a database template from this site and changed it to suit my needs but I have a bit of a problem with some of the code. I know how to update the worksheet with the relevant userform text fields and in another project I did I have successfully sent userform text fields in the body of an email.
For this project I want to update the worksheet AND send an email at the same time. However, using the two pieces of code together is causing an error that I can't seem to solve (using my very limited vba knowledge!). The code I am working on is below and I have highlighted the line that is getting the error message. C
VB:
Private Sub cmdSubmit_Click() 'Submit new record
Dim ws As Worksheet, lRow As Long, Str As String [code]....
View 1 Replies
View Related
Mar 11, 2014
I am trying to write a macro to send mail on every Friday and also on last day of every month. If the last day of the month falls on Saturday or Sunday then the macro should mail on Friday. I have written a separate macro to send a mail. I have also written to check day(ie Monday, Tuesday etc) of today. If today is Friday or month end i can send mail. I dont know how to tell the macro to send mail on friday if the month last date is saturday or sunday.
Sub done()
Dim Dat As Date, x As Integer, y As Date, sorry As String
Dim str As String
sorry = "Today is not friday or month end. So i cannot send mails"
str = WeekdayName(Weekday(Now()))
[Code] ........
View 1 Replies
View Related
Nov 19, 2009
I am trying to make a scroll box so I can enter data into the scroll box dirrectly. Such a simple thing.
View 11 Replies
View Related
May 13, 2013
I'm trying to scroll down my work sheet but it's not letting me. Every time I move the scroll bar down the page it just keeps showing me the same part of the sheet eg cells 1-30 when I want to see all the way down to the bottom. I have some 20,000 lines I need to scroll through but I can't see all of them. To add to this, I keep having lines hide between other lines so theres a big gap like going from line 120 to line 4000 and I have to manually unhide them every time to see them.
View 2 Replies
View Related
Nov 14, 2008
Does anybody know how to force the scroll bar on a listbox to be at the bottom rather than the top when filled with data?
View 6 Replies
View Related
Dec 26, 2008
I have a spreadsheet with some scripting that automatically emails the report to whoever is on the sheet. I'm not sure what kind of scripting it is. I think my boss found it somewhere.
Whenever I scroll either down or up, the first 3 rows disappear and I'm not able to scroll back up. The scrollbar shows that I'm not at the top, but it won't let me go back up. The first 3 rows contain the button to send the email. If I close out without saving and open it again, its fine, until I scroll up or down.
View 4 Replies
View Related
Aug 23, 2009
I've been trying to set the scroll bar min/max/small change to a decimal (percentage value) within the properties, obviously this does not work.
Since users can enter a value in the link cell for the scroll bar, how can I modify the current min/max/small change via macros so the scroll bar will show a min on 1%, small change of 0.25% and max of 25%?
View 14 Replies
View Related
Apr 24, 2007
Simple VBA What is the command to scroll to over "x" number of columns? and/or rows?
I just the active cell to move over 5 cells to the right for example?
View 9 Replies
View Related
May 2, 2007
I use a very simple textbox in a userform for sequential output only (it displays status messages of a long program run). The box nicely scrolls vertically up the lines but only till the userform has the focus (i.e. it is the actual selected window). But when I change the focus to othe window - scrolling immediatelly stops. Unfortunatly when I activate a new Excel sheet in the background program, the userform lost the focus and scroll is stopping.
Has anybody a solution for it? I have already tried positioning the textbox with sellength/selstart but I was unable to start the scrolling again from the proper position. I know that VB has the scrolltocaret() funcion but it is missing in VBA.
View 9 Replies
View Related
Nov 15, 2007
I have a document that is rather simple but has 32,984 Rows.
What I would like to do is program the sheet so if I enter a six (6) digit employee number in A2 (A1 is a header) then all the rows would scoll up and stop just below A2 in other words strop at row 3, if this makles any sense,
Also what I woudl like to do is the same option in A2 and have the same effect but here the user would have to enter only the first 3 characters of a name and then the system would scroll through all the options and start listing them as above starting at row 3.
The end result for both options would be to highlight the desired sorted rows..............
View 9 Replies
View Related
Jun 15, 2008
I am attempting to create a lookup spreadsheet. The big picture is this: I need a quick way to look up what paperwork i have and what i still need for each of my 200+ clients. I have created checkboxes and a document matrix where document names get color coded when a checkbox is checked next to clients name. Now i am attempting to add another feature where when the box is checked off i can see notes ive put in for that client. I picture it as a textbox with a scrollbar linked to a cell on a different sheet where the notes are stored. I cannot to get it to work, i am able to insert the textbox but the notes appear in a single Line, no matter how big the texbox is, which makes the scroll bar not function.
View 9 Replies
View Related
Apr 9, 2009
I have a aged debt report. Historically this has caused problems as when a customer paid there debt all comments were lost and we had to start from scratch if they got into debt again. Also comments had to be transfered when the data was updated.
I solved this by adding a comments sheet and a short macro that stored comments based on customer name. A lookup then showed the latest comment on the main sheet.
The main sheet looks like....
View 9 Replies
View Related
Dec 28, 2009
if it is possible to create a chart which only shows a portion of the data series at once, but has the ability to scroll through all of the data points using a scroll bar.
I am aware of one method which changes the input data based on formulas linked to the "cell link" feature of the scroll bar, which gets the job done. I am curious if there is an alternative method where all of the data is charted, but there is a fixed chart "window" of sorts that shows only a certain amount of the data (like a web browser - you have to scroll down to see the rest of the page). The scroll bar would ideally only reveal what is already there, rather than changing the data range via a formula. Does this make sense?
View 9 Replies
View Related
Jul 27, 2007
I am building a form for use in Excel. The form is going to be rather long. I want to use the vertical scroll bar, but I can't seem to get it to work.
Besides enabling the vertical scroll bar, what other steps do I need to take in order to utilize this feature?
View 4 Replies
View Related
Feb 27, 2009
I dont know the real name about this scroll bar (like you can see in my attachment), so I cant search in the forum, sigh! how can I remove the bar in the red circle?
View 3 Replies
View Related
May 28, 2009
I have a spreadsheet with about 300 rows and columns up to AB. Is it possible to stop the page to scroll beyond the 300 rows and AB columns.
View 8 Replies
View Related
Jan 1, 2010
I'd like to edit this code so that I am taken to the first available open cell on a worksheet.
I have been using the following
View 2 Replies
View Related
Apr 20, 2010
My spreadsheet has 459 rows; however, the vertical scroll bar ends at row 569738. I have attempted to delete all of the extra rows by holding SHIFT and CTRL, striking the down arrow then right-clicking on the left margin of highlighted row numbers and choosing delete. I have also done the same procedure except clicking clear all from the editing menu. None of these methods has removed the rows and enlarged the vertical scroll bar to a proportionate size in relation to the number of rows.
View 14 Replies
View Related
Mar 3, 2006
get a horizontal scroll bar into a listbox ?
My litbox is 180 point wide (set by width command) but my text is wider.
I seem to remember if you set a small width in the .columnwidths property you can generate a scroll bar - but this is ignored for a single column listbox, which is what I have.
If I reset the .Width property to something very small (eg 50) then I get the scroll bar but for some reason it doesn't scroll the fullwidth of the text.
View 2 Replies
View Related
Mar 3, 2014
I created the following worksheet when a user opens my workbook:
Project #Project DescProject LeaderStatus Date
1Project Desc 1Jones02/04/2014
2Project Desc 2Jones02/21/2014
5Project Desc 5Smith02/04/2014
[Code] ........
I now need to take the worksheet fields and place them in a userform which will have the following:
View command button which has the hyperlink attached to it followed by boxes with the Project Desc, Project Leader and Status Date.
View 2 Replies
View Related
Jan 4, 2007
I have a spreadsheet which contains about 800 rows. Each row contains a column with the name of a different workbook. I need to scroll through each cell containing the name of a workbook and open that workbook, extract two specific cell contents from each workbook opened, and paste that information into the two cells next to the original cell containing the workbook name.
Example:
Summary Workbook column C: contains names of workbooks.
For each workbook name, I need to open the respective workbook.
Then in the first tab of the workbook I need to extract the information in E6 and K7 and copy that information back into the summary workbook in the two cell to the right of column C.
View 11 Replies
View Related
Oct 10, 2008
Is there a way using VBA, that I could type something in a cell, and then it would find it in the A column and scroll to it?
View 3 Replies
View Related
Nov 23, 2008
I'm trying to get a scroll bar to change a percentage value. My percents are to the hundredth. I understand how to adjust the properties to get it to use whole numbers... but i am trying to adjust my smallchange by .01% and large change by .1%
is this possible? or is there a workaround for it? i've only ever used scroll bars for whole numbers.
View 2 Replies
View Related
Dec 25, 2008
is there anyway to stop screen scroll?
so that you can only see the visible cells at opening of workbook?
View 14 Replies
View Related
Feb 13, 2009
I need some code to scroll the worksheet top-left.
View 2 Replies
View Related