I have a website with lots of pages and I have a tool where I can see how many visits these pages get. What I want is to find out which pages didn't get any visits.
So I have in one column all the pages URL's on my site
In the other column I have all the pages URL's that have been visited, and in the column right next to it I have the amount of visits that page has received.
For example, this is what it looks like today:
column A:
row 1: /site/hello.htm
row 2: /site/how.htm
row 3: /site/are.htm
row 4: /site/you.htm
Ideally the URL's that have been visited should show up on the same row as the URL in column A, and then for the ones that have not been viewed it will just be blank in column B and C.
so in the above case it would look something like this:
column A:
row 1: /site/hello.htm
row 2: /site/how.htm
row 3: /site/are.htm
row 4: /site/you.htm
I'm trying to execute a macro and it won't put the focus (radio button) to select x pages wide by x pages tall in the Page Setup/Page/Scaling Area. I looked at the macro and can't find a setting in the code but yet the focus won't change. What can I do about this? In other words the radio button stays selected as "adjust to "" % of normal size. Here's the code...
I am trying to create a PDF of every 2 Worksheets. I currently have this code that creates my PDFs for each individual sheet but I need it to group 2 together. Ex: Sheets 1 & 2 a separate PDF, Sheets 3 & 4 a separate PDF and so on.
I'm trying to find an easy way(or any way) that I can have excel automatically insert a page number into my document. I'm looking at 60+ pages on separate tabs that I will be adjusting and modifying for a few weeks yet and I don't feel like continually fixing page numbers.
I have a user form that has several tab pages on it when the form opens it checks to see if the user has entered there default info if it is empty it needs to go to the default tab so the user can enter there info. How do I do this using vba in excel 2000 I have not been able to find any code that will do this if I use the set focus option for a text box on the tab page it comes up with an error saying the item is not visible! The user forme is names = UserDataInputForm. The tab pages I have are
1st = InputDailyTimesPage 2nd = OverTimePage 3rd = DataPage 4th = DefultDataPage the form opens using the 1st tab page by default in the user forms inisilisation code I have this check
I have created a spreadsheet which serves as a reporting portal - if you select a product from a drop down, the spreadsheet automatically updates with data regarding that specific product. I would like to give my worksheet the ability to select a new item from the dropdown (that part i can do) and then print each of these product reports (1 page each) and aggregate them into one large pdf.
I have a formula that checks the previous page(Tab) for a figure so the formula goes =SUM(F37-'05-27-2007 thru 06-02-2007'!F37). Is there a way to instead of asking for the page '05-27-2007 thru 06-02-2007' to have it generically ask for the previous page?
I have a long growing statistical report(18 pages + more), and 14 of the pages will use report table headers. I went into the page set up and selected the row to repeat on each page. I do not want the table headers on any pages after 14. The rest of the report is formatted differently and does not use the row headers. but all of the information is related. Is there a way to only show the row headers up to page 14? I can't use headers and footers, of course. The report will be set in one place and the user will print it out once a week. It seems as if this cannot be done but I this is my last resort.
My question is about webqueries... specifically how to set up a query that will automatically fetch data on different pages (same data, but includes page 2, page 3, page 4, etc )
I've just figured out how to import a "new web query," but it seems like I won't be able to import 63 pages of it unless I do all of them by hand.
I have a workbook that has a total of 128 pages. The problem is that a lot of those pages won't be used. Basically I have a sheet that needs to be filled out for each day up to around 30 days, sometimes more, most times less.
Currently I have created all the sheets that I will typically need (31 daily's, 31 daily printable reports).
Data is entered into the daily (and other spots) and then with the use of formulas transferred to the report sheet which is hidden and then printable with the use of macros.
I also need to withdraw some of this information (CSV File) to be able to populate a database.
Is it possible to have my "daily" page as a template and then create the subsequent pages as I need them? (this would have to be done with a bunch of other report pages as well). For ease of use I would need all the formulas etc that I currently have to be able to be "created" as well. As an example, there is a running total of costs associated with the "daily" pages that would need to be carried forward.
I work for a construction company, Someone else created a workbook a few years ago with 140 similar pages, each listing a separate piece of equipment as a service record. I need to print these out randomly for mechanics to update with new information, as they service the machines. However, some of the pages of the original workbook are goofy and the workbook as a whole could be improved. But, oh that many pages!
I have worked on a new template page for entering information to make the worksheets all cohesive and updated. Is there an EASY and/or FAST way for me to copy this page 150x to make a new workbook, and just enter my data onto each new page? I really don't want to reformat each page of the original workbook individually to see if I can fix all the glitches and weirdnesses that have occurred on the pages over the years. I thought it would be much easier to retype the data onto new pages.
I was trying to print a workbook which was about perhaps 20-30 sheets of roughly one page of printed info each. However, I saw the print job and it said it was printing over 7,000 pages!!!
It turns out there were about 4-5 worksheets which were blank (and also didn't have gridlines even though gridlines were checked on in options).
When I switched the sheets to page break view, lo and behold each sheet contained a few thousands "pages". I simply can't seem to reduce it down to a relatively normal size.
I tried going right past the edges of page 1 and deleting all columns/rows to the right and bottom of it to no avail. I selected the whole worksheet and removed all borders and any cell content with no luck.
I saw other "solutions" on the internet about copy/pasting the other unaffected sheets to a new workbook and deleting, but this seems cumbersome.
i want it to stay on working sheet asit prints out the selected sheets below. is there anyway to stop this from showing the sheets? ie stay on working sheet
I having troubles getting a part of this script to do what I want and was hoping someone could point out what to try. What I need is when the user is asked to enter the amount of pallets. The number they input is placed into a cell.
Here is the problem.
I'm looking for a way to start at number 1 and work up to the number the user placed in the input box. For example if the user put 5 in the input box Range("F37") Would read 5 then in range("A37") the number would read 1. Then the page would print ,the next value in Range("A37") would be 2 ,then print and so on up to 5. So the end result I would have 5 pages that printed with the only differnce being Range("A37") Value being 1,2,3,4,5.
I have an Excel 2007 Workbook that is used to do a variety of different reports. Each spreadsheet within this Workbook is a different report. All reports need the same Header format that is linked with new data that is entered with each new report. The reason I need a header is because each report may vary in size from 1 page to 6 pages, it all depends on how much is reported on and a single completed report will use a combination of other reports.
Here below is a format that I am trying to achieve
(Linked Data) ‘Employee names located top center Date: (Linked Data) ‘With Date: texted before link, located left index Address: (Linked Data) ‘With Address: texted before link, located left index
Or should I just use =Sheet1!A1:C1
On Sheet1 as source to other sheets, but if I do this how do I use this like a header for continuing pages
I have a spreadsheet that has different product codes that I want to link to their corresponding web pages. At the moment I individually input the hyperlink into each cell using this common address http://www.ace-sales.co.uk/Catalog.aspx?search=25617 it is just the 5 digit code at the end that changes each time Can I put a common hyperlink in all the product code cells, then just put the product code in the cell and then the hyperlink automatically links to products corresponding page?
I have a command box that I type a number into, when you type this number and hit "OK" it searches that sheet in column B for that number, if it finds that number it deletes it, if not close. This works perfectly. I have 7 other sheets however, and I want it to search those sheets as well for the same number (still in column B) at the same time, if found delete the row, if not keep going. I have it working on Sheet2 (laser) but every time it fails on Sheet3 (punch). The thing that kills me is it's the same code. I have tried numerous things but have had no success.
Code: Private Sub CommandButton1_Click() Const strDelete As String = "TextBox1.Value"
Dim DeleteValue As String Dim rng As Range Dim rng2 As Range
I am trying to run this code to select every 2 pages and update the formula's...problem is it isn't actually selecting every 2nd page, and the pages it is selecting sure isn't updating with those formulas ...
Code: For i = 1 To Worksheets.Count - 1 Step 2 Sheets(i).Select Sheets(i + 1).Select Replace:=False With Sheets Range("F28").Select ActiveCell.FormulaR1C1 = "=RC[-2]/R[9]C[-2]"
Im trying to get a macro that will set every sheet in the workbook i am usine, to match sheet1.
Sub LOOPY Dim WS As Worksheet 'Loop through all worksheets For Each WS In ActiveWorkbook.Worksheets 'Do this for all sheets except these sheets If WS.Name = "Pcard Statement" Or WS.Name = "namedranges" Then 'Do Nothing Else 'copy "pcard statement" page setups/print magins Sheets(WS.Name).Range("A1").PasteSpecial Paste:=print margins? End If Next WS Application.CutCopyMode = False End Sub
There are 24 pages for printing and each one has different information on that sheet. From day to day some or all of the pages are needed. I would like the macro to look at each page and find a cell(different cell but same info on each page) and if the value of that cell is greater than 0 print that page. If not don't. I only need to calculate the "Bundle Tops" sheet. How do I write this. I am a beginner at the VBA code.
I have a workbook with multiple pages, two of which are labled "Summary" and "Questionnaire" On the Summary sheet, I would like to have a button or permanent dialouge box that asks the user if he wants to print the "Questionnaire" sheet. The button should have 2 options YES and NO. If they say Yes, change the contents of cell A2 on the Questionnaire page to "1". If they selct NO, make contents of A2 on the Questionnaire sheet to "0"
I have a macro that reads the contents of A2 on all sheets and prints if >o
I've been trying to familiarize myself with MS Excel's Web Query function (MS Excel 2007) in order to collect statistics from a baseball game.
Here is this particular page I'd like to start pulling certain data from: http://www.mmobaseball.com/stats.aspx
I can get the first page of data easily, the first 50 or so players and their stats, but I cannot get anything from the other pages (which are accessed by the 'next button') nor can I get the defensive stats of any player (accessed by clicking the button labeled "defensive stats"). When I look at the page source I see that regardless of the page I'm viewing, excel only pulls data from the original page.
How can I collect the data from these other pages?
How do I reference the values in TextBoxes on pages in a MultiPage form that have not yet been created?
I need to add all of the first TextBoxes values on each page starting with page 2 and place the sum into the first TextBox on page 1. And do the same with the second and third TextBoxes.
I have included a sample workbook to show what I am trying to do.
I'm trying to set up a multi page report where some of the same information is repeated into a several forms. Is there a way I can set this up to where I type it into the one section and it will auto fill into the other pages I need the same information?
Sub ThreeToOne() Dim ColALen As Long, ColBLen As Long, ColCLen As Long ColALen = Range("A65536").End(xlUp).Row ColBLen = Range("B65536").End(xlUp).Row ColCLen = Range("C65536").End(xlUp).Row If ColALen + ColBLen + ColCLen > 65536 Then MsgBox "Too Much Data to fit in One column" Exit Sub End If Range(Cells(1, 1), Cells(ColALen, 1)).Copy _ Range(Cells(1, 5), Cells(ColALen, 5)) Range(Cells(1, 2), Cells(ColBLen, 2)).Copy _ Range(Cells(ColALen + 1, 5), Cells(ColALen + ColBLen, 5)) Range(Cells(1, 3), Cells(ColCLen, 3)).Copy _ Range(Cells(ColALen + ColBLen + 1, 5), Cells(ColALen + ColBLen + ColCLen, 5)) End Sub
I'd like to do something similar, yet different. I have 4 columns on 2 pages that I'd like to combine this time around. I'd like to end up with this as my result.
I need to prepare count sheets for stock take on my company and I have a long list for data with hundreds of locations. What my colleagues have been doing is to filter the locations 1 by 1 and clicking print because we want the page numbering to be 'page 1 of 3', page 2 of 3 etc. for each location.
For example
Location a has 2 pages we want it to be page 1 of 2, page 2 of 2
Location b has 1 page we want it to be page 1 of 1
This is so that we can detect if any count sheets have gone missing.
I want to be able to print everything at 1 go, without filtering the locations manually and clicking print as it takes hours to do so.
Is there anyway I can do it? I have some knowledge on excel but not macros.