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 Mike Lewis 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. sdiverdan

    Specify a variable for a worksheet name

    That's it. Knew it was simple. I was using the year and 2015 is an integer... Thanks for the quick reply! Dan
  2. sdiverdan

    Specify a variable for a worksheet name

    I could not find this question in the forums. Thought it would be a simple solution. I'm using Excel 2013 and have VBA code to select a worksheet. My worksheets are years 2013,2014, 2015. Depending on the command button on my userform, I update cells in a particular spreadsheet. In my code I...
  3. sdiverdan

    How to save a worksheet from VBA to a new book and path.

    SkipVought, the GetSaveAsFilename saves the whole workbook doens't it. I don't want everyone to save a massive database/VBA spreadsheet just the small worksheet of their search with their own path and filename. The GetSaveAsFilename does give them the option of specifying a path and a new...
  4. sdiverdan

    How to save a worksheet from VBA to a new book and path.

    I searched this forum looking for how to bring up the Excel SaveAs windows screen. I have a spreadsheet database that produces a worksheet resulting from the users search critera. I can bring up the print preview screen if they want to print the worksheet results. What I haven't been able to...
  5. sdiverdan

    Accessing defined names in Excel from VBA

    Got it! Finally figured it out. Simple really when you use the Evaluate. Here's the final code: in my main form: Private Sub VType_Click() 'view type Sheets("Tables").Range("FName").Value = "Types" Sheets("Tables").Range("FRange").Value = Evaluate("TypeName").Address 'TypeName is a...
  6. sdiverdan

    Accessing defined names in Excel from VBA

    macropod was right! I forgot the with statement as DaveInIowa pointed out. When something's not working you try all kinds of things and I must have deleted my with/end with statement with a cut and paste. Stupid!! .List = Sheets("Tables").Range("FRange").Value works However...
  7. sdiverdan

    Accessing defined names in Excel from VBA

    Yes I did. I receive a compile error stating that it's an invalid or unqualified reference. That's basically the problem: how to reference defined names. Dan
  8. sdiverdan

    Accessing defined names in Excel from VBA

    I'm having a problem accessing the defined names of my worksheet. I have names defined in my workbook and can access them like this: Private Sub Introduction_Click() MsgBox Evaluate("Itext"), vbInformation + vbOKOnly, Evaluate("Ititle") End Sub This is a simple message box showing the...
  9. sdiverdan

    Convert vba to executable

    Thanks, I thought so but had to try. Dan
  10. sdiverdan

    Convert vba to executable

    I have an excel workbook that's basically a small database. A vba userform accesses the data and has buttons that perform simple searches. I would like to access the userform without having to open excel. So I need to create a program or convert the vba into an executable. How can I do this...
  11. sdiverdan

    Another Excel index/match or vlookup problem

    thanks xlhelp! I had to also put in an extra ')' before the "Vacant" and viola it works beautifully! [2thumbsup] Dan
  12. sdiverdan

    I posted this in the Office 2003 fo

    I posted this in the Office 2003 forum and did not get a response so I'm trying this forum. I'm really stumped. I have two sheets (call it Sheet1 & sheet2). Sheet1 is: Name Team Position Bob 2 1 Dan 5 3 George 1 2 Mac 1 1 Ted 2 2 this sheet is sorted by name...
  13. sdiverdan

    Another Excel index/match or vlookup problem

    oh... one more thing if the team/position is not there I want to return "Vacant" versus a player's name. Dan
  14. sdiverdan

    Another Excel index/match or vlookup problem

    I'm stuck again and this time it's turing my hair gray! I have two sheets (call it Sheet1 & sheet2). Sheet1 is: Name Team Position Bob 2 1 Dan 5 3 George 1 2 Mac 1 1 Ted 2 2 this sheet is sorted by name. Sheet2 is a report that looks like: Team 1 PlayerA team 1...
  15. sdiverdan

    Excel Find Maximum Value for a matched value

    Thanks Ken, here's a star, that's exactly what I was looking for! thanks...[thumbsup] Dan
  16. sdiverdan

    Excel Find Maximum Value for a matched value

    I have a spreadsheet containing 45 different rows representing network lines, a column has line speeds (128,256, 512..) and another column has the maximum Kbps for that particular line for a particular day. I'm trying to retreive into a cell the maximum Kbps for a line speed. I know the large...
  17. sdiverdan

    Find Date in Excel using VBA

    Thanks Benny and Chris, I gave you both a star. It works! Making the variable "as Date" and using the what: and lookin: suggestions worked. I love this forum. Thanks!:-D Dan
  18. sdiverdan

    vb textbox date

    Sorry this should have been a new post. Couldn't figure out how to delete it once it was posted. Dan
  19. sdiverdan

    Find Date in Excel using VBA

    cannot find a date using "Find" in excel. I have dates in the first column in format "mm/dd/yyyy" and need to find the row the date is in. I'm using the following lines and the result is the date is not found. I tried using the 11/12/2003 as a number, a string,as a...

Part and Inventory Search

Back
Top