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 TouchToneTommy 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: *

  • Users: Zenkai
  • Content: Threads
  • Order by date
  1. Zenkai

    printing across word sections

    It would be super if we could use absolute page numbers to print pages from a word document. For example, we have two sections, each with 5 pages. Is there a way to have the user input "1-8" and get vb to print out the pages properly? I do NOT want to use the p1s2 stuff. -Nick
  2. Zenkai

    Errors with the UserStatus collection

    I'm having trouble getting VBA to display the user names of individuals who have a workbook open for editing. I am using: Sub GetUserName() Dim users As Variant Workbooks.Open ("T:\Book1.xls") users = Workbooks("Book1.xls").UserStatus If UBound(users, 1) > 0 Then...
  3. Zenkai

    Opening a workbook, maintaining "read-only" prompt

    I am opening a workbook using workbooks.open("book.xls") If it is already open, excel is opening it as read only. I would like for it to instead display the dialog box wherein the user can choose whether to open the book "read only" or "notify" or "cancel." How can that work? -Nick
  4. Zenkai

    Append post-script print jobs?

    I have a macro running that opens some workbooks, selects some sheets, and sends out a print job to Adobe PDF, and makes a post-script file. I would like to append all the print jobs into a single post script file. Is this possible? How could that work? Also, the macro is being rewritten so...
  5. Zenkai

    Separating items in a list

    I have a set of worksheets, all listed in a single cell. Like this: "Sheet1, Sheet2, Sheet3 . . . " And in VB, I want to select all of those sheets. I WAS using sheets(array("Sheet1", "Sheet2", . . . ).select But now I want to use sheets(array(SheetNames)).select Where SheetNames is the...
  6. Zenkai

    Accessing cells in a closed workbook

    I need to be able to access cells in a closed workbook based on strings that contain the filename, sheet name, and cel range. I'd like to do this in a function, eg: A1 = "C:\" A2 = "Book1.xls" A3 = "Sheet1" A4 = "A1" A5 = "GetClosedData(A1, A2, A3, A4)" And return whatever was in that...
  7. Zenkai

    Calling a DLL function

    I am trying to write a DLL and have its functions accessible to Excel so that the code runs faster (right now, I have one module taking about 2 minutes to calculate). I wrote the following code in Visual Basic 6.0 Pro: Public Function TimesFive(x As Double) As Double TimesFive = x * 5...
  8. Zenkai

    XLL references?

    I'm trying to access a function within an XLL. I cannot get it to register with through Tools > References. I tried this code: Declare Function EPPc Lib "Generic.xll" _ (x As Double, y As Double) As Double But the function is still not being referenced. I have a similar...
  9. Zenkai

    Change from numbers to letters in Excel?

    I have a string of numbers that I want changed into letters in the same format as Excel's columns. I.E. if the number input is 4, I want to get "D" back. If 27, I want "AA" if 53, "BA" etc. Is there a built-in function for this, or do I need to divide by 26, get...
  10. Zenkai

    Tracking Changes in XL?

    Hi there, I am writing a VBA to record all changes made to a document, and write them to Word. I already have the Word implementation, what I need to know is this: How can I record all changes made to a document since it was opened? My only thought was to have the VBA record Macro data and...
  11. Zenkai

    Record Macro Data as String?

    Hi there, I am writing a VBA to record all changes made to a document, and write them to Word. I already have the Word implementation, what I need to know is this: How can I record all changes made to a document since it was opened? My only thought was to have the VBA record Macro data and...

Part and Inventory Search

Back
Top