Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jpgactmod

    CommandButton not working on vbModeless Form

    Thanks much for your suggestion. I have it working now!
  2. jpgactmod

    CommandButton not working on vbModeless Form

    I have a UserForm named "TotYrReturnsForm" with a CommandButton named "CloseButton" The form is run in a Sub named "Enter_5Yr_Averages" Within the Sub "Enter_5Yr_Averages", I have the following line code: TotYrReturnsForm.Show vbModeless This line code opens the "TotYrReturnsForm" UserForm...
  3. jpgactmod

    Format ListBox Columns

    Thank you for the suggestion. Yes, I have been doing some pretty sloppy fixes myself:). Specifically, iteratively playing with the number of spaces between the columns and manually moving column headings above the ListBox. Thanks again!
  4. jpgactmod

    Format ListBox Columns

    Thank you but I am not trying to format a number. I am trying to format Text. Specifically, I currently have the "TextAlign" "Properties" for the ListBox set to "2-fmTextAlignCenter". I am trying to get one column in the ListBox left-aligned (i.e. effectively set to "1-fmTextAlignLeft") while...
  5. jpgactmod

    Format ListBox Columns

    I have used the "FormatNumber" VBA function to format Column 1 in a ListBox for numbers with four decimal points: Area(1, j) = FormatNumber(Range(“A1”), 4) If I wanted a different format for column 2 (e.g. six decimal points) this can easily be done with: Area(2, j) = FormatNumber(Range(“A1”)...
  6. jpgactmod

    Use "Indirect" Function with a variable reference

    Thanks again Skip. You are a great help!! Jim
  7. jpgactmod

    Use "Indirect" Function with a variable reference

    I have several worksheets with matrices that I am trying to reference by using a summary worksheet. For example, I know I can do the following: =INDIRECT($L$24&"!B10"); where L24 contains the worksheet name and this references Cell B10 for the Worksheet named in Cell L24. What I am trying to...
  8. jpgactmod

    Pivot Table; Naming Report Filter Selection

    Thanks much Skip!! Jim
  9. jpgactmod

    Pivot Table; Naming Report Filter Selection

    I created a Pivot Table with multiple selections from a Report Filter. My question is once I make a selection is there any way to name the selection so I can retrieve the same selections from the Report Filter without having to remember and make the same selections each time? Any help would be...
  10. jpgactmod

    Stop Excel from combining continuous PrintArea

    I see. I assume that the second sRng(0) is meant to be sRng(1). Instead of setting the PrintArea, the VBA code prints each area one at a time. Correct? Yes, this works fine. Thank you again.
  11. jpgactmod

    Stop Excel from combining continuous PrintArea

    I have a worksheet with several continuous areas that I would like to print on separate pages. For example, two adjacent print areas are as follows: CR6:CU77, CV26:DM77 When I use VBA to enter the above into Page Layout/PrintArea, Excel combines the PrintArea to CR6:DM77. Is there a way I can...
  12. jpgactmod

    Stop Excel from combining continuous PrintArea

    Thank you. Unfortunately, I am setting the PageArea with VBA code so setting the Page Breaks manually is a problem. Thanks again for your help.
  13. jpgactmod

    Stop Excel from combining continuous PrintArea

    I have a worksheet with several continuous areas that I would like to print on separate pages. For example, two adjacent print areas are as follows: CR6:CU77, CV26:DM77 When I enter the above into Page Layout/PrintArea, Excel combines the PrintArea to CR6:DM77. Is there a way I can stop Excel...
  14. jpgactmod

    Error when trying to Save Access as 2007 Version

    I am trying to convert a 2002 Access Program to 2007. When I try to Save the open Database as Access 2007, I get the following message: you attempted to open a database that is already opened exclusively by user 'admin'. Any suggestions as to how I can convert or save the current database to...
  15. jpgactmod

    PrintPreview freezes and does not let me print

    Hi Jake, I was beginning to think that I was all alone. I am not sure it will solve your problem, but by trial and error I did find what was causing my problem. I generally turn off "screen updating" in all my macros to speed things up a little and avoid vertigo by watching worksheets bounce...
  16. jpgactmod

    PrintPreview freezes and does not let me print

    I just converted to Excel 2007. The below code in a Visual Basic Module worked fine for Excel 2003, but now it PrintPreviews the worksheets but does not let me actually print or even close PrintPreview. I can scroll through the PrintPreview pages but everything else is frozen. I can only get out...
  17. jpgactmod

    "ActiveWindow.SelectedSheets.PrintPreview" does not let me print

    I just converted to Excel 2007. The below code in a Visual Basic Module worked fine for Excel 2003, but now it PrintPreviews the worksheets but does not let me actually print or even close PrintPreview. I can scroll through the PrintPreview pages but everything else is frozen. I can only get out...
  18. jpgactmod

    Hide Excel Workbook when running VBA

    PHV, Yes, that solved both of my problems (visibility and preventing a User from interrupting the program). Thank you. Jim
  19. jpgactmod

    Hide Excel Workbook when running VBA

    I am using VBA to export Access data to an Excel Workbook. The VBA code includes the following: Ans = MsgBox("Existing Data in " & xWkBkName & " will be replaced. Continue?", vbYesNo, "Data Replacement Warning") If Ans = vbNo Then Exit Sub When the program runs, the MsgBox is hidden by...

Part and Inventory Search

Back
Top